All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.crnk.jpa.DefaultJpaRepositoryFactory Maven / Gradle / Ivy

package io.crnk.jpa;

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, Class sourceResourceClass, JpaRepositoryConfig config) {
		return new JpaRelationshipRepository<>(module, sourceResourceClass, config);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy