public interface QueryHandler
Modifier and Type | Method and Description |
---|---|
void |
addEntity(javax.persistence.Query query,
String alias,
Class<?> type)
Add the given entity to the given native query
|
void |
addScalar(javax.persistence.Query query,
String alias,
Class<?> type)
Add the given scalar to the given native query
|
boolean |
createNativeQueryTyped() |
<T> com.mysema.commons.lang.CloseableIterator<T> |
iterate(javax.persistence.Query query,
FactoryExpression<?> projection)
Iterate the results with the optional projection
|
boolean |
transform(javax.persistence.Query query,
FactoryExpression<?> projection)
Transform the results of the given query using the given factory expression
|
boolean |
wrapEntityProjections() |
boolean createNativeQueryTyped()
<T> com.mysema.commons.lang.CloseableIterator<T> iterate(javax.persistence.Query query, @Nullable FactoryExpression<?> projection)
query
- void addScalar(javax.persistence.Query query, String alias, Class<?> type)
query
- alias
- type
- void addEntity(javax.persistence.Query query, String alias, Class<?> type)
query
- alias
- type
- boolean transform(javax.persistence.Query query, FactoryExpression<?> projection)
query
- projection
- boolean wrapEntityProjections()
Copyright © 2007–2015 Mysema Ltd. All rights reserved.