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

This code example shows how to use the following methods:
		if ( !isEmbeddedInXML ) { 
			getIdentifierType(factory).setToXMLNode(node, value, factory); 
		} 
		else { 
			Element elt = (Element) value; 
			replaceNode( node, new ElementWrapper(elt) ); 
		} 
	} 
 
	public String getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters) 
	throws MappingException { 
		if ( isReferenceToPrimaryKey() ) { //TODO: this is a bit arbitrary, expose a switch to the user? 
			return ""; 
		} 
		else { 
			return getAssociatedJoinable( factory ).filterFragment( alias, enabledFilters ); 
		} 
	} 
 
	/** 
Full Snippet Info
4
CodeRank
Connect your IDE to all the code out there  Get Codota for Java