#716 - Remove createNamedQuery() and createQuery(Class<T> beanType, String query) ... use criteria API, query beans and RawSql

This commit is contained in:
Robin Bygrave
2016-05-20 22:13:58 +12:00
parent a20822a9e1
commit 11d623cb69
58 changed files with 56 additions and 3578 deletions
@@ -436,11 +436,6 @@ public interface SpiQuery<T> extends Query<T> {
*/
void setUsageProfiling(boolean usageProfiling);
/**
* Return the query name.
*/
String getName();
/**
* Prepare the query which prepares sub-query expressions and calculates
* and returns the query plan key.
@@ -464,12 +459,6 @@ public interface SpiQuery<T> extends Query<T> {
*/
HashQuery queryHash();
/**
* Return true if this is a query based on a SqlSelect rather than
* generated.
*/
boolean isSqlSelect();
/**
* Return true if this is a RawSql query.
*/