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.EntityManageremem is theEntityManagerthat handles all the transactions with our database -
Constructor Summary
Constructors Constructor Description ListsRepositoryImpl() -
Method Summary
Modifier and Type Method Description voiddeleteListByList_id(int list_id)ListBeangetListByList_id(int list_id)Methods inherited from class com.patreonshout.rest.BaseSvc
catchCustomException, catchSQLIntegrityConstraintViolationExceptionMethods 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 theEntityManagerthat 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)
-