#291 - ENH: Add ability to validate a query or property expression - Was Please check column exist on entity

This commit is contained in:
Robin Bygrave
2015-11-30 15:10:22 +13:00
parent debd8ad617
commit fae39fe650
26 changed files with 245 additions and 4 deletions
+9
View File
@@ -1318,4 +1318,13 @@ public interface Query<T> extends Serializable {
* </p>
*/
Query<T> setDisableLazyLoading(boolean disableLazyLoading);
/**
* Returns the set of properties or paths that are unknown (do not map to known properties or paths).
* <p>
* Validate the query checking the where and orderBy expression paths to confirm if
* they represent valid properties or paths for the given bean type.
* </p>
*/
Set<String> validate();
}