Package top.codef.dao
Class AbstractDaoWithClass<T>
java.lang.Object
top.codef.dao.AbstractDaoWithClass<T>
- All Implemented Interfaces:
AmebaDao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclazz()
void
void
createOrUpdate
(T entity) void
delete
(Serializable id) void
void
void
flush()
get
(Serializable id) jakarta.persistence.EntityManager
org.hibernate.Session
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface top.codef.dao.AmebaDao
conditionHandle, conditionHandle, generateUid, groupBy, groupBy, joinTable, limit, orderBy, orderBy, orderBy, orderBy, select, seperate, where
-
Constructor Details
-
AbstractDaoWithClass
public AbstractDaoWithClass()
-
-
Method Details
-
getEntityManager
public jakarta.persistence.EntityManager getEntityManager()- Specified by:
getEntityManager
in interfaceAmebaDao
-
getSession
public org.hibernate.Session getSession() -
clazz
-
create
-
detach
-
createOrUpdate
-
merge
-
delete
-
delete
-
get
-
flush
public void flush() -
refresh
-