List of usage examples for org.hibernate.persister.collection CollectionPropertyNames COLLECTION_INDEX
String COLLECTION_INDEX
To view the source code for org.hibernate.persister.collection CollectionPropertyNames COLLECTION_INDEX.
Click Source Link
From source file:cz.jirutka.rsql.visitor.hibernate.HibernateCriterionVisitor.java
License:Apache License
private Type getPropertyType(BasicType basicType, String property) { if (CollectionPropertyNames.COLLECTION_ELEMENTS.equals(property)) { return basicType; } else if (CollectionPropertyNames.COLLECTION_INDEX.equals(property)) { return IntegerType.INSTANCE; }/* www.ja v a 2s. c o m*/ throw new IllegalArgumentException("Not handled: " + basicType + " with property: " + property); }