From a769d47a9ace6a62b1a532c414fffb1858fc4f59 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Thu, 11 Jul 2019 10:02:23 +0100 Subject: [PATCH] 6 - SQM based on JPA type system --- .../plan/build/internal/spaces/CompositePropertyMapping.java | 4 ---- .../persister/entity/BasicEntityPropertyMapping.java | 4 ---- .../java/org/hibernate/persister/entity/PropertyMapping.java | 5 ----- 3 files changed, 13 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/spaces/CompositePropertyMapping.java b/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/spaces/CompositePropertyMapping.java index e3f65609fc..6e717fb012 100644 --- a/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/spaces/CompositePropertyMapping.java +++ b/hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/spaces/CompositePropertyMapping.java @@ -112,8 +112,4 @@ public class CompositePropertyMapping implements PropertyMapping { return parentPropertyMapping.toColumns( toParentPropertyPath( propertyName ) ); } - @Override - public CompositeType getType() { - return compositeType; - } } diff --git a/hibernate-core/src/main/java/org/hibernate/persister/entity/BasicEntityPropertyMapping.java b/hibernate-core/src/main/java/org/hibernate/persister/entity/BasicEntityPropertyMapping.java index 471a60808e..172a2c781e 100755 --- a/hibernate-core/src/main/java/org/hibernate/persister/entity/BasicEntityPropertyMapping.java +++ b/hibernate-core/src/main/java/org/hibernate/persister/entity/BasicEntityPropertyMapping.java @@ -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( diff --git a/hibernate-core/src/main/java/org/hibernate/persister/entity/PropertyMapping.java b/hibernate-core/src/main/java/org/hibernate/persister/entity/PropertyMapping.java index a5aca3e5b0..f645d7b58b 100644 --- a/hibernate-core/src/main/java/org/hibernate/persister/entity/PropertyMapping.java +++ b/hibernate-core/src/main/java/org/hibernate/persister/entity/PropertyMapping.java @@ -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(); }