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

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 );
		} 
	} 
} 
5
CodeRank
Experience pair programming with AI  Get Codota for Java
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 ) {
4
CodeRank
Experience pair programming with AI  Get Codota for Java
See Code Examples for Hibernate ORM JoinFragment Methods: