6 - SQM based on JPA type system
This commit is contained in:
parent
230a819065
commit
a769d47a9a
|
@ -112,8 +112,4 @@ public class CompositePropertyMapping implements PropertyMapping {
|
|||
return parentPropertyMapping.toColumns( toParentPropertyPath( propertyName ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
public CompositeType getType() {
|
||||
return compositeType;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,10 +35,6 @@ public class BasicEntityPropertyMapping extends AbstractPropertyMapping {
|
|||
return persister.getEntityName();
|
||||
}
|
||||
|
||||
public Type getType() {
|
||||
return persister.getType();
|
||||
}
|
||||
|
||||
public String[] toColumns(final String alias, final String propertyName) throws QueryException {
|
||||
return super.toColumns(
|
||||
AbstractEntityPersister.generateTableAlias(
|
||||
|
|
|
@ -75,9 +75,4 @@ public interface PropertyMapping {
|
|||
* Given a property path, return the corresponding column name(s).
|
||||
*/
|
||||
public String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException;
|
||||
/**
|
||||
* Get the type of the thing containing the properties
|
||||
*/
|
||||
@Remove
|
||||
public Type getType();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue