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

This code example shows how to use the following methods:
		implements PrimitiveType<Boolean>, DiscriminatorType<Boolean> { 
	public static final TrueFalseType INSTANCE = new TrueFalseType(); 
	public TrueFalseType() { 
		super( CharTypeDescriptor.INSTANCE, new BooleanTypeDescriptor( 'T', 'F' ) ); 
	public String getName() { 
		return "true_false"; 
	public Class getPrimitiveClass() { 
		return boolean.class; 
	public Boolean stringToObject(String xml) throws Exception { 
		return fromString( xml );