A - JPA Entity Type (DDD: Aggregate)K - key typepublic abstract class BaseJpaRepository<A extends org.seedstack.business.api.domain.AggregateRoot<K>,K>
extends org.seedstack.business.api.domain.BaseRepository<A,K>
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
entityManager |
| Modifier | Constructor and Description |
|---|---|
|
BaseJpaRepository()
Constructor.
|
protected |
BaseJpaRepository(Class<A> aggregateRootClass,
Class<K> kClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(A aggregate) |
protected void |
doDelete(K id) |
protected A |
doLoad(K id) |
protected void |
doPersist(A aggregate) |
protected A |
doSave(A aggregate) |
Copyright © 2013-2015–2015. All rights reserved.