io.crnk.jpa.DefaultJpaRepositoryFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crnk-jpa Show documentation
Show all versions of crnk-jpa Show documentation
JSON API framework for Java
package io.crnk.jpa;
import io.crnk.core.engine.information.resource.ResourceField;
import java.io.Serializable;
public class DefaultJpaRepositoryFactory implements JpaRepositoryFactory {
@Override
public JpaEntityRepository createEntityRepository(JpaModule module,
JpaRepositoryConfig config) {
return new JpaEntityRepository<>(module, config);
}
@Override
public JpaRelationshipRepository
createRelationshipRepository(
JpaModule module, ResourceField field, JpaRepositoryConfig config) {
return new JpaRelationshipRepository<>(module, field, config);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy