Package com.patreonshout.jpa
Class ListsRepositoryImpl
java.lang.Object
com.patreonshout.rest.BaseSvc
com.patreonshout.jpa.ListsRepositoryImpl
@Repository @Transactional public class ListsRepositoryImpl extends BaseSvc
Implementation of custom Spring Data Repository for custom SQL functionality not automatically provided in
JpaRepository
-
Field Summary
Fields Modifier and Type Field Description private javax.persistence.EntityManager
em
em is theEntityManager
that handles all the transactions with our database -
Constructor Summary
Constructors Constructor Description ListsRepositoryImpl()
-
Method Summary
Modifier and Type Method Description void
deleteListByList_id(int list_id)
ListBean
getListByList_id(int list_id)
Methods inherited from class com.patreonshout.rest.BaseSvc
catchCustomException, catchSQLIntegrityConstraintViolationException
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
em
private javax.persistence.EntityManager emem is theEntityManager
that handles all the transactions with our database
-
-
Constructor Details
-
ListsRepositoryImpl
public ListsRepositoryImpl()
-
-
Method Details
-
getListByList_id
-
deleteListByList_id
public void deleteListByList_id(int list_id)
-