@Translator(name="jpa2", description="A translator for JPA2 based entities") public class JPA2ExecutionFactory extends ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>
ExecutionFactory.Format, ExecutionFactory.NullOrder, ExecutionFactory.SupportedJoinCriteria, ExecutionFactory.TransactionSupportDEFAULT_MAX_FROM_GROUPS, DEFAULT_MAX_IN_CRITERIA_SIZE, DEFAULT_MAX_PROJECTED_COLUMNS| Constructor and Description |
|---|
JPA2ExecutionFactory() |
addPushDownFunction, areLobsUsableAfterClose, createExecution, getCacheDirective, getCollationLocale, getConnection, getDefaultNullOrder, getDirectQueryProcedureName, getExcludedCommonTableExpressionName, getInstance, getLanguageFactory, getMaxDependentInPredicates, getMaxFromGroups, getMaxInCriteriaSize, getMaxProjectedColumns, getMetadata, getNativeQueryProcedureName, getPushDownFunctions, getRequiredLikeEscape, getSupportedJoinCriteria, getTransactionSupport, getTypeFacility, initCapabilities, isCopyLobs, isForkable, isImmutable, isSourceRequired, isSourceRequiredForCapabilities, isSourceRequiredForMetadata, isThreadBound, requiresCriteria, returnsSingleUpdateCount, setCollationLocale, setCopyLobs, setDirectQueryProcedureName, setExcludedCommonTableExpressionName, setImmutable, setMaxDependentInPredicates, setMaxInCriteriaSize, setNativeQueryProcedureName, setRequiresCriteria, setSourceRequired, setSourceRequiredForMetadata, setSupportedJoinCriteria, setSupportsDirectQueryProcedure, setSupportsFullOuterJoins, setSupportsInnerJoins, setSupportsNativeQueries, setSupportsOrderBy, setSupportsOuterJoins, setSupportsSelectDistinct, setThreadBound, setTransactionSupport, supportsAdvancedOlapOperations, supportsAggregatesCountBig, supportsAggregatesEnhancedNumeric, supportsArrayAgg, supportsArrayType, supportsBatchedUpdates, supportsBulkUpdate, supportsCommonTableExpressions, supportsCompareCriteriaOrderedExclusive, supportsConvert, supportsCorrelatedSubqueries, supportsCorrelatedSubqueryLimit, supportsDirectQueryProcedure, supportsElementaryOlapOperations, supportsExcept, supportsFormatLiteral, supportsFullDependentJoins, supportsFullOuterJoins, supportsFunctionsInGroupBy, supportsGeographyType, supportsGroupByMultipleDistinctAggregates, supportsGroupByRollup, supportsInnerJoins, supportsInsertWithQueryExpression, supportsIntersect, supportsIsDistinctCriteria, supportsLateralJoin, supportsLateralJoinCondition, supportsLikeCriteriaEscapeCharacter, supportsLikeRegex, supportsListAgg, supportsMultipleOpenExecutions, supportsNativeQueries, supportsOnlyCorrelatedSubqueries, supportsOnlyFormatLiterals, supportsOnlyLateralJoinProcedure, supportsOnlyLiteralComparison, supportsOnlySingleTableGroupBy, supportsOnlyTimestampAddLiteral, supportsOrderBy, supportsOrderByNullOrdering, supportsOrderByUnrelated, supportsOrderByWithExtendedGrouping, supportsOuterJoins, supportsPartialFiltering, supportsProcedureTable, supportsQuantifiedCompareCriteriaAll, supportsQuantifiedCompareCriteriaSome, supportsRecursiveCommonTableExpressions, supportsScalarSubqueryProjection, supportsSearchedCaseExpressions, supportsSelectDistinct, supportsSelectExpressionArrayType, supportsSelectWithoutFrom, supportsSetQueryLimitOffset, supportsSetQueryOrderBy, supportsSimilarTo, supportsStringAgg, supportsSubqueryCommonTableExpressions, supportsSubqueryInOn, supportsUnions, supportsUpsert, supportsWindowDistinctAggregates, supportsWindowFrameClause, supportsWindowFunctionCumeDist, supportsWindowFunctionNthValue, supportsWindowFunctionNtile, supportsWindowFunctionPercentRank, supportsWindowOrderByWithAggregates, useBindingsForDependentJoinpublic void start()
throws TranslatorException
start in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>TranslatorExceptionpublic javax.persistence.EntityManager getConnection(javax.persistence.EntityManagerFactory factory,
ExecutionContext executionContext)
throws TranslatorException
getConnection in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>TranslatorExceptionpublic void closeConnection(javax.persistence.EntityManager connection,
javax.persistence.EntityManagerFactory factory)
closeConnection in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public ResultSetExecution createResultSetExecution(QueryExpression command, ExecutionContext executionContext, RuntimeMetadata metadata, javax.persistence.EntityManager connection) throws TranslatorException
createResultSetExecution in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>TranslatorExceptionpublic ProcedureExecution createProcedureExecution(Call command, ExecutionContext executionContext, RuntimeMetadata metadata, javax.persistence.EntityManager connection) throws TranslatorException
createProcedureExecution in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>TranslatorExceptionpublic UpdateExecution createUpdateExecution(Command command, ExecutionContext executionContext, RuntimeMetadata metadata, javax.persistence.EntityManager connection) throws TranslatorException
createUpdateExecution in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>TranslatorExceptionpublic ProcedureExecution createDirectExecution(List<Argument> arguments, Command command, ExecutionContext executionContext, RuntimeMetadata metadata, javax.persistence.EntityManager connection) throws TranslatorException
createDirectExecution in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>TranslatorExceptionpublic MetadataProcessor<javax.persistence.EntityManager> getMetadataProcessor()
getMetadataProcessor in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsSelectExpression()
supportsSelectExpression in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAliasedTable()
supportsAliasedTable in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsInlineViews()
supportsInlineViews in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsCompareCriteriaEquals()
supportsCompareCriteriaEquals in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsCompareCriteriaOrdered()
supportsCompareCriteriaOrdered in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsLikeCriteria()
supportsLikeCriteria in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsInCriteria()
supportsInCriteria in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsInCriteriaSubquery()
supportsInCriteriaSubquery in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsIsNullCriteria()
supportsIsNullCriteria in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsOrCriteria()
supportsOrCriteria in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsNotCriteria()
supportsNotCriteria in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsExistsCriteria()
supportsExistsCriteria in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsGroupBy()
supportsGroupBy in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsHaving()
supportsHaving in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesSum()
supportsAggregatesSum in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesAvg()
supportsAggregatesAvg in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesMin()
supportsAggregatesMin in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesMax()
supportsAggregatesMax in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesCount()
supportsAggregatesCount in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesCountStar()
supportsAggregatesCountStar in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesDistinct()
supportsAggregatesDistinct in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsScalarSubqueries()
supportsScalarSubqueries in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean useAnsiJoin()
useAnsiJoin in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsDependentJoins()
supportsDependentJoins in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsSelfJoins()
supportsSelfJoins in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsRowLimit()
supportsRowLimit in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsRowOffset()
supportsRowOffset in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public List<String> getSupportedFunctions()
getSupportedFunctions in class ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public Map<String,FunctionModifier> getFunctionModifiers()
public void registerFunctionModifier(String name, FunctionModifier modifier)
FunctionModifier to the set of known modifiers.name - modifier - Copyright © 2019. All rights reserved.