Builds JPA 1.0 String-based queries from the Query model
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DELETE_CLAUSE |
|
static java.lang.String |
LOGICAL_AND |
|
static java.lang.String |
LOGICAL_OR |
|
static java.lang.String |
NOT_CLAUSE |
|
static java.lang.String |
UPDATE_CLAUSE |
Constructor and description |
---|
JpaQueryBuilder
(QueryableCriteria criteria) |
JpaQueryBuilder
(PersistentEntity entity, java.util.List<Query.Criterion> criteria) |
JpaQueryBuilder
(PersistentEntity entity, java.util.List<Query.Criterion> criteria, ProjectionList projectionList) |
JpaQueryBuilder
(PersistentEntity entity, java.util.List<Query.Criterion> criteria, ProjectionList projectionList, java.util.List<Query.Order> orders) |
JpaQueryBuilder
(PersistentEntity entity, Junction criteria) |
JpaQueryBuilder
(PersistentEntity entity, Junction criteria, ProjectionList projectionList) |
JpaQueryBuilder
(PersistentEntity entity, Junction criteria, ProjectionList projectionList, java.util.List<Query.Order> orders) |
Type | Name and description |
---|---|
static int |
appendCriteriaForOperator(java.lang.StringBuilder q, java.lang.String logicalName, java.lang.String name, int position, java.lang.String operator, boolean hibernateCompatible) |
protected void |
appendOrder(java.lang.StringBuilder queryString, java.lang.String logicalName) |
JpaQueryInfo |
buildDelete() Builds a DELETE statement |
JpaQueryInfo |
buildSelect() Builds SELECT statement |
JpaQueryInfo |
buildUpdate(java.util.Map<java.lang.String, java.lang.Object> propertiesToUpdate) Builds an UPDATE statement. |
void |
setConversionService(org.springframework.core.convert.ConversionService conversionService) |
void |
setHibernateCompatible(boolean hibernateCompatible) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Builds a DELETE statement
Builds SELECT statement
Builds an UPDATE statement.
propertiesToUpdate
- THe properties to update