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 );
		} 
	} 
} 
Full Snippet Info
4
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
See Code Examples for Hibernate ORM EntityEntryExtraState Methods: