|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.util.jpa.JPAGenericDAO<K,E>
fr.paris.lutece.portal.service.jpa.JPALuteceDAO<K,E>
K
- Type of the entity's keyE
- Type of the entitypublic abstract class JPALuteceDAO<K,E>
Generic JPA DAO for Lutece components
Constructor Summary | |
---|---|
JPALuteceDAO()
|
Method Summary | |
---|---|
protected javax.persistence.Query |
createNativeQuery(java.lang.String strSQL)
|
javax.persistence.EntityManagerFactory |
getEntityManagerFactory()
Gets the entity manager to use with this DAO |
abstract java.lang.String |
getPluginName()
Gets the plugin name. |
Methods inherited from class fr.paris.lutece.util.jpa.JPAGenericDAO |
---|
create, findAll, findById, getEM, getEntityClass, getEntityClassName, remove, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JPALuteceDAO()
Method Detail |
---|
public abstract java.lang.String getPluginName()
public javax.persistence.EntityManagerFactory getEntityManagerFactory()
getEntityManagerFactory
in class JPAGenericDAO<K,E>
protected javax.persistence.Query createNativeQuery(java.lang.String strSQL)
strSQL
- The SQL query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |