| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private NativeSQLQueryReturn[] | |
| private final List | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | NamedSQLQueryDefinition(String
The sql query string query, NativeSQLQueryReturn[] The in-lined query return definitions queryReturns, List<String> Any specified query spaces (used for auto-flushing) querySpaces, boolean Whether the query results are cacheable cacheable, String If cacheable, the region into which to store the results cacheRegion, Integer A JDBC-level timeout to be applied timeout, Integer A JDBC-level fetch-size to be applied fetchSize, FlushMode The flush mode to use for this query flushMode, CacheMode The cache mode to use during execution and subsequent result loading cacheMode, boolean Whether returned entities should be marked as read-only in the session readOnly, String Any sql comment to be applied to the query comment, Map<K, V> parameter type map parameterTypes, boolean Does the query string represent a callable object (i.e., proc) callable)This form used to construct a NamedSQLQueryDefinition from the binder code when a the result-set mapping information is explicitly provided in the query definition (i.e., no resultset-mapping used) |
| public | NamedSQLQueryDefinition(String
The sql query string query, String The resultset-mapping name resultSetRef, List<String> Any specified query spaces (used for auto-flushing) querySpaces, boolean Whether the query results are cacheable cacheable, String If cacheable, the region into which to store the results cacheRegion, Integer A JDBC-level timeout to be applied timeout, Integer A JDBC-level fetch-size to be applied fetchSize, FlushMode The flush mode to use for this query flushMode, CacheMode The cache mode to use during execution and subsequent result loading cacheMode, boolean Whether returned entities should be marked as read-only in the session readOnly, String Any sql comment to be applied to the query comment, Map<K, V> parameter type map parameterTypes, boolean Does the query string represent a callable object (i.e., proc) callable)This form used to construct a NamedSQLQueryDefinition from the binder code when a resultset-mapping reference is used. |
| public | NamedSQLQueryDefinition(String
The sql query string query, String The result-set-mapping name resultSetRef, List<String> Any specified query spaces (used for auto-flushing) querySpaces, boolean Whether the query results are cacheable cacheable, String If cacheable, the region into which to store the results cacheRegion, Integer A JDBC-level timeout to be applied timeout, Integer A JDBC-level fetch-size to be applied fetchSize, FlushMode The flush mode to use for this query flushMode, Map<K, V> parameter type map parameterTypes, boolean Does the query string represent a callable object (i.e., proc) callable)
Deprecated
This form used from annotations (?).
|
| Modifier and Type | Method and Description |
|---|---|
| public NativeSQLQueryReturn[] | |
| public List | |
| public String | |
| public boolean |
| callable | back to summary |
|---|---|
| private final boolean callable | |
| queryReturns | back to summary |
|---|---|
| private NativeSQLQueryReturn[] queryReturns | |
| querySpaces | back to summary |
|---|---|
| private final List<String> querySpaces | |
| resultSetRef | back to summary |
|---|---|
| private String resultSetRef | |
| NamedSQLQueryDefinition | back to summary |
|---|---|
| public NamedSQLQueryDefinition(String query, NativeSQLQueryReturn[] queryReturns, List<String> querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map<K, V> parameterTypes, boolean callable) This form used to construct a NamedSQLQueryDefinition from the binder code when a the result-set mapping information is explicitly provided in the query definition (i.e., no resultset-mapping used)
| |
| NamedSQLQueryDefinition | back to summary |
|---|---|
| public NamedSQLQueryDefinition(String query, String resultSetRef, List<String> querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map<K, V> parameterTypes, boolean callable) This form used to construct a NamedSQLQueryDefinition from the binder code when a resultset-mapping reference is used.
| |
| NamedSQLQueryDefinition | back to summary |
|---|---|
| public NamedSQLQueryDefinition(String query, String resultSetRef, List<String> querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, Map<K, V> parameterTypes, boolean callable)
Deprecated
This form used from annotations (?). Essentially the same as the above using a resultset-mapping reference, but without cacheMode, readOnly, and comment. FIXME: annotations do not use it, so it can be remove from my POV
| |
| getQueryReturns | back to summary |
|---|---|
| public NativeSQLQueryReturn[] getQueryReturns() | |
| getQuerySpaces | back to summary |
|---|---|
| public List | |
| getResultSetRef | back to summary |
|---|---|
| public String getResultSetRef() | |
| isCallable | back to summary |
|---|---|
| public boolean isCallable() | |