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

This code example shows how to use the following methods:
This code example shows how to use the following methods:
				op + 
				" (select count(*) from " + 
				cp.getTableName() +
				//" collection_ where " + 
				" where " + 
				new ConditionFragment()
						.setTableAlias( criteriaQuery.getSQLAlias(criteria, propertyName) )
						.setCondition(pk, fk)
						.toFragmentString() +
				")"; 
	} 
 
	public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) 
	throws HibernateException {
		return new TypedValue[] {
			new TypedValue( StandardBasicTypes.INTEGER, size, EntityMode.POJO )
		}; 
	} 
 
} 
4
CodeRank