Code example for Type

Methods: isCollectionType

0
			throw new MappingException(
			        "Property path [" + entityName + "." + propertyName + "] does not reference a collection"
			); 
		} 
 
		String role = ( ( CollectionType ) type ).getRole();
		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;
Experience pair programming with AI  Get Codota for Java