Methods Summary |
---|
public org.hibernate.type.Type | getType()
return type;
|
public java.lang.String[] | toColumns(java.lang.String alias, java.lang.String propertyName)
if (propertyName==null || "id".equals(propertyName) ) {
return StringHelper.qualify(alias, elementColumns);
}
else {
throw new QueryException("cannot dereference scalar collection element: " + propertyName);
}
|
public java.lang.String[] | toColumns(java.lang.String propertyName)Given a property path, return the corresponding column name(s).
throw new UnsupportedOperationException( "References to collections must be define a SQL alias" );
|
public org.hibernate.type.Type | toType(java.lang.String propertyName)
if ( propertyName==null || "id".equals(propertyName) ) {
return type;
}
else {
throw new QueryException("cannot dereference scalar collection element: " + propertyName);
}
|