Best code examples for Hibernate ORM ElementWrapper class (org.hibernate.tuple.ElementWrapper)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM ElementWrapper class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM ElementWrapper examples from Open Source projects
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