| Package | Description |
|---|---|
| io.katharsis.jpa | |
| io.katharsis.jpa.internal |
| Modifier and Type | Method and Description |
|---|---|
static JpaModule |
JpaModule.newClientModule()
Creates a new JpaModule for a Katharsis client.
|
static JpaModule |
JpaModule.newClientModule(String resourceSearchPackage)
Deprecated.
|
static JpaModule |
JpaModule.newServerModule(javax.persistence.EntityManagerFactory emFactory,
javax.persistence.EntityManager em,
TransactionRunner transactionRunner)
Creates a new JpaModule for a Katharsis server.
|
static JpaModule |
JpaModule.newServerModule(javax.persistence.EntityManager em,
TransactionRunner transactionRunner)
Creates a new JpaModule for a Katharsis server.
|
| Modifier and Type | Method and Description |
|---|---|
<T,I extends Serializable> |
JpaRepositoryFactory.createEntityRepository(JpaModule module,
JpaRepositoryConfig<T> config)
Creates a resource repository that maps an entity to a JSON API endpoint.
|
<T,I extends Serializable> |
DefaultJpaRepositoryFactory.createEntityRepository(JpaModule module,
JpaRepositoryConfig<T> config) |
<S,I extends Serializable,T,J extends Serializable> |
JpaRepositoryFactory.createRelationshipRepository(JpaModule module,
Class<S> sourceResourceClass,
JpaRepositoryConfig<T> config)
Creates a relationship repository that maps an entity relationship to a JSON API endpoint.
|
<T,I extends Serializable,D,J extends Serializable> |
DefaultJpaRepositoryFactory.createRelationshipRepository(JpaModule module,
Class<T> sourceResourceClass,
JpaRepositoryConfig<D> config) |
| Constructor and Description |
|---|
JpaEntityRepository(JpaModule module,
JpaRepositoryConfig<T> config) |
JpaRelationshipRepository(JpaModule module,
Class<S> sourceResourceClass,
JpaRepositoryConfig<T> targetResourceClass)
JPA relationship directly exposed as repository
|
| Modifier and Type | Field and Description |
|---|---|
protected JpaModule |
JpaRepositoryBase.module |
| Constructor and Description |
|---|
JpaRepositoryBase(JpaModule module,
JpaRepositoryConfig<T> repositoryConfig) |
Copyright © 2017. All Rights Reserved.