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

This code example shows how to use the following methods:
		else if ( "none".equals( unsavedValue ) ) {
			return IdentifierValue.NONE;
		} 
		else if ( "any".equals( unsavedValue ) ) {
			return IdentifierValue.ANY;
		} 
		else { 
			try { 
				return new IdentifierValue( ( Serializable ) ( ( IdentifierType ) identifierType ).stringToObject( unsavedValue ) );
			} 
			catch ( ClassCastException cce ) {
				throw new MappingException( "Bad identifier type: " + identifierType.getName() );
			} 
			catch ( Exception e ) {
				throw new MappingException( "Could not parse identifier unsaved-value: " + unsavedValue );
			} 
		} 
	} 
 
	public static VersionValue getUnsavedVersionValue(
4
CodeRank
This code example shows how to use the following methods: