public interface JpaProvider
| Modifier and Type | Method and Description |
|---|---|
String |
escapeCharacter(char character) |
String |
getBooleanConditionalExpression(boolean value) |
String |
getBooleanExpression(boolean value) |
String |
getCollectionValueFunction()
Normally returns
VALUE, but since Hibernate does weird things when using that, it returns null. |
String |
getColumnType(javax.persistence.metamodel.Attribute<?,?> attribute) |
String |
getCustomFunctionInvocation(String functionName,
int argumentCount) |
Class<?> |
getDefaultQueryResultType() |
String |
getNullExpression() |
String |
getOnClause() |
boolean |
isBag(javax.persistence.metamodel.Attribute<?,?> attribute) |
boolean |
isJoinTable(javax.persistence.metamodel.Attribute<?,?> attribute) |
boolean |
needsBracketsForListParamter() |
boolean |
needsJoinSubqueryRewrite()
Returns whether key restricted left joins should be rewritten to subquery joins.
|
void |
renderNullPrecedence(StringBuilder sb,
String expression,
String resolvedExpression,
String order,
String nulls) |
boolean |
supportsCountStar() |
boolean |
supportsEntityJoin() |
boolean |
supportsInsertStatement() |
boolean |
supportsJpa21() |
boolean |
supportsNullPrecedenceExpression() |
boolean |
supportsRootTreat() |
boolean |
supportsRootTreatJoin() |
boolean |
supportsSubtypePropertyResolving() |
boolean |
supportsTreatJoin() |
boolean supportsJpa21()
boolean supportsEntityJoin()
boolean supportsInsertStatement()
boolean needsBracketsForListParamter()
boolean needsJoinSubqueryRewrite()
String getBooleanExpression(boolean value)
String getBooleanConditionalExpression(boolean value)
String getNullExpression()
String getOnClause()
String getCollectionValueFunction()
VALUE, but since Hibernate does weird things when using that, it returns null.
Returning null results in omitting VALUE in the final query that is passed to the JPA provider.Class<?> getDefaultQueryResultType()
String getCustomFunctionInvocation(String functionName, int argumentCount)
String escapeCharacter(char character)
boolean supportsNullPrecedenceExpression()
void renderNullPrecedence(StringBuilder sb, String expression, String resolvedExpression, String order, String nulls)
boolean supportsRootTreat()
boolean supportsTreatJoin()
boolean supportsRootTreatJoin()
boolean supportsSubtypePropertyResolving()
boolean supportsCountStar()
boolean isJoinTable(javax.persistence.metamodel.Attribute<?,?> attribute)
boolean isBag(javax.persistence.metamodel.Attribute<?,?> attribute)
String getColumnType(javax.persistence.metamodel.Attribute<?,?> attribute)
Copyright © 2016 Blazebit. All Rights Reserved.