Code example for QueryException

0
			out( sessionFactory.getDialect().getCrossJoinSeparator() ); 
		} 
	} 
 
	@Override 
    protected void nestedFromFragment(AST d, AST parent) { 
		// check a set of parent/child nodes in the from-clause tree 
		// to determine if a comma is required between them 
		if ( d != null && hasText( d ) ) { 
			if ( parent != null && hasText( parent ) ) { 
				// again, both should be FromElements 
				FromElement left = ( FromElement ) parent; 
				FromElement right = ( FromElement ) d; 
				if ( right.getRealOrigin() == left ) { 
					// right represents a joins originating from left... 
					if ( right.getJoinSequence() != null && right.getJoinSequence().isThetaStyle() ) { 
						out( ", " ); 
					} 
					else { 
						out( " " ); 
Connect your IDE to all the code out there  Get Codota for Java