Best code examples for Hibernate ORM JoinFragment class (org.hibernate.sql.JoinFragment)

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

Hibernate ORM JoinFragment examples from Open Source projects
This code example shows how to use the following methods: toFromFragmentString, toWhereFragmentString
		try { 
			JoinFragment join = joinSequence.toJoinFragment( enabledFilters, true );
			return new StringBuffer( "select " )
					.append( StringHelper.join( ", ", columns ) )
					.append( " from " )
					.append( join.toFromFragmentString().substring( 2 ) )// remove initial ", "
					.append( " where " )
					.append( join.toWhereFragmentString().substring( 5 ) )// remove initial " and "
					.toString();
		} 
		catch ( MappingException me ) {
			throw new QueryException( me );
		} 
	} 
} 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: hasFilterCondition
	} 
 
	public boolean hasFilterCondition() { 
		return joinFragment.hasFilterCondition();
	} 
 
	public void setFromElement(FromElement fromElement) {
		this.fromElement = fromElement;
	} 
 
	public FromElement getFromElement() {
		return fromElement;
	} 
 
 
	// ParameterContainer impl ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
	private List embeddedParameters;
 
	public void addEmbeddedParameter(ParameterSpecification specification) {
		if ( embeddedParameters == null ) {
Full Snippet Info
4
CodeRank
See Code Examples for Hibernate ORM JoinFragment Methods: