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 { 
 
	@Override 
	public Class<? extends EntityPersister> singleTableEntityPersister() { 
		return SingleTableOgmEntityPersister.class; 
	} 
 
	@Override 
	public Class<? extends EntityPersister> joinedSubclassEntityPersister() { 
		throw new UnsupportedOperationException( "Joined subclasses strategy not supported" ); 
	} 
 
	@Override 
	public Class<? extends EntityPersister> unionSubclassEntityPersister() { 
		return UnionSubclassOgmEntityPersister.class; 
Full Snippet Info
3
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java