|
EclipseLink 2.4.0, build 'v20120319-r11014' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.queries.JPAQueryBuilderManager
public final class JPAQueryBuilderManager
Manager class that maintains the JPAQueryBuilder
to be used in parsing a JPQL query and
converting it to a DatabaseQuery
in the the EclipseLink environment. In the
absence of designating a query builder specifically ((JPAQueryBuilder)
), the default builder is ANTLRQueryBuilder
.
JPAQueryBuilder
,
ANTLRQueryBuilder
,
HermesParser
Constructor Summary | |
---|---|
JPAQueryBuilderManager()
|
Method Summary | |
---|---|
static JPAQueryBuilder |
getQueryBuilder()
This method returns the JPAQueryBuilder that has been set for the EclipseLink
environment. |
static void |
setQueryBuilder(JPAQueryBuilder queryBuilder)
Sets the system JPAQueryBuilder to be used across the EclipseLink environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JPAQueryBuilderManager()
Method Detail |
---|
public static JPAQueryBuilder getQueryBuilder()
JPAQueryBuilder
that has been set for the EclipseLink
environment. If no query builder has been explicitly designated, then the ANTLRQueryBuilder
will be used.
JPAQueryBuilder
designated for the environmentpublic static void setQueryBuilder(JPAQueryBuilder queryBuilder)
JPAQueryBuilder
to be used across the EclipseLink environment.
queryBuilder
- The query builder to set
|
EclipseLink 2.4.0, build 'v20120319-r11014' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |