public class EclipseLinkHandler extends Object implements QueryHandler
| Constructor and Description |
|---|
EclipseLinkHandler() |
| 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
|
<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
|
public void addEntity(javax.persistence.Query query,
String alias,
Class<?> type)
QueryHandleraddEntity in interface QueryHandlerpublic void addScalar(javax.persistence.Query query,
String alias,
Class<?> type)
QueryHandleraddScalar in interface QueryHandlerpublic <T> com.mysema.commons.lang.CloseableIterator<T> iterate(javax.persistence.Query query,
FactoryExpression<?> projection)
QueryHandleriterate in interface QueryHandlerpublic boolean transform(javax.persistence.Query query,
FactoryExpression<?> projection)
QueryHandlertransform in interface QueryHandlerCopyright © 2007–2014 Mysema Ltd. All rights reserved.