Hibernate ORM StandardPersisterClassResolver - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM StandardPersisterClassResolver class.

This code example shows how to use the following methods:
 * Return the Ogm persisters 
 * @author Emmanuel Bernard <emmanuel@hibernate.org> 
public class OgmPersisterClassResolver extends StandardPersisterClassResolver implements PersisterClassResolver { 
	public Class<? extends EntityPersister> singleTableEntityPersister() { 
		return SingleTableOgmEntityPersister.class; 
	public Class<? extends EntityPersister> joinedSubclassEntityPersister() { 
		throw new UnsupportedOperationException( "Joined subclasses strategy not supported" ); 
	public Class<? extends EntityPersister> unionSubclassEntityPersister() { 
		return UnionSubclassOgmEntityPersister.class;