|
EclipseLink 2.4.0, build 'v20120308-r10963' 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
JPQL queries and converting them to DatabaseQuery
s in the
the EclipseLink environment. In the absence of designating a query builder
specifically (setQueryBuilder(JPAQueryBuilder)
),
the default builder is ANTLRQueryBuilder
.
JPAQueryBuilder
,
ANTLRQueryBuilder
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 environment.public static void setQueryBuilder(JPAQueryBuilder queryBuilder)
JPAQueryBuilder
to be used across the
EclipseLink environment.
queryBuilder
- The query builder to set.
|
EclipseLink 2.4.0, build 'v20120308-r10963' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |