Hibernate ORM EntityEntryExtraState - 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 EntityEntryExtraState class.

This code example shows how to use the following methods:getClass, getExtraState
	@SuppressWarnings("unchecked") 
	public <T extends EntityEntryExtraState> T getExtraState(Class<T> extraStateType) {
		if ( next == null ) {
			return null; 
		} 
		if ( extraStateType.isAssignableFrom( next.getClass() ) ) {
			return (T) next;
		} 
		else { 
			return next.getExtraState( extraStateType );
		} 
	} 
} 
4
CodeRank
See Code Examples for Hibernate ORM EntityEntryExtraState Methods: