Code example for CollectionType

Methods: getRole

0
		try { 
			return ( QueryableCollection ) factory.getCollectionPersister( role );
		} 
		catch ( ClassCastException cce ) {
			throw new QueryException( "collection role is not queryable: " + role );
		} 
		catch ( Exception e ) {
			throw new QueryException( "collection role not found: " + role );
		} 
	} 
 
	public final TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
	        throws HibernateException {
		return NO_VALUES;
	} 
 
	public final String toString() {
		return propertyName + ( excludeEmpty() ? " is not empty" : " is empty" );
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java