Class AbstractCoreTest
java.lang.Object
com.blazebit.persistence.testsuite.base.jpa.AbstractJpaPersistenceTest
com.blazebit.persistence.testsuite.base.AbstractPersistenceTest
com.blazebit.persistence.testsuite.AbstractCoreTest
- Since:
- 1.0.0
- Author:
- Christian Beikov, Moritz Becker
-
Nested Class Summary
Nested classes/interfaces inherited from class com.blazebit.persistence.testsuite.base.jpa.AbstractJpaPersistenceTest
com.blazebit.persistence.testsuite.base.jpa.AbstractJpaPersistenceTest.JpaProviderFamily, com.blazebit.persistence.testsuite.base.jpa.AbstractJpaPersistenceTest.SchemaMode -
Field Summary
FieldsFields inherited from class com.blazebit.persistence.testsuite.base.jpa.AbstractJpaPersistenceTest
cbf, dbmsDialect, em, emf, jpaProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbooleanConditionalExpression(boolean value) protected static <T> T[]concat(T[] array1, T... array2) protected voidprotected StringcorrelationPath(Class<?> ownerEntity, String correlationPath, Class<?> entityClass, String alias, String predicate, String normalSuffix) protected StringcorrelationPath(Class<?> ownerEntity, String correlationPath, String alias, String predicate) protected StringcorrelationPath(Class<?> ownerEntity, String correlationPath, String alias, String predicate, String normalSuffix) protected StringcorrelationPath(String correlationPath, Class<?> entityClass, String alias, String predicate) protected StringcorrelationPath(String correlationPath, Class<?> entityClass, String alias, String predicate, String normalSuffix) protected static Stringprotected static StringcountDistinct(String... args) protected StringcountPaginated(String string, boolean distinct) protected StringcountPaginatedBounded(String string, boolean distinct) protected Stringprotected static StringcountTuple(String... args) protected static StringcountTupleDistinct(String... args) protected static StringdateLiteral(String literalValue) protected StringescapeCharacter(char character) protected static Stringprotected Class<?>[]protected Stringprotected StringgroupByPathExpressions(String... pathExpressions) protected StringjoinAliasValue(String alias) protected StringjoinAliasValue(String alias, String field) protected StringlistParameter(String name) Only use this for parameters that have more than 1 value!protected StringnoEscape()protected Stringprotected StringrenderNullPrecedence(String expression, String order, String nulls) protected StringrenderNullPrecedence(String expression, String resolvedExpression, String order, String nulls) protected StringrenderNullPrecedenceGroupBy(String resolvedExpression, String order, String nulls) protected booleanprotected static StringresolveRegisteredFunctionName(String functionName) protected StringsingleValuedAssociationIdJoin(String singleValuedAssociationIdBasePath, String joinAlias, boolean optionalAssociation) protected Stringprotected StringsingleValuedAssociationIdPath(String idPath, String joinAlias) protected static StringstaticJoinAliasValue(String alias, String field) protected static StringtimeLiteral(String literalValue) protected voidtransactional(TxVoidWork work) protected <V> Vtransactional(TxWork<V> work) protected Stringprotected StringtreatJoinedConstraintFragment(String alias, Class<?> treatType, String after, boolean subtypeProperty) protected StringtreatJoinWhereFragment(Class<?> sourceType, String attribute, String alias, Class<?> type, JoinType joinType, String whereFragment) protected Stringprotected Stringprotected StringtreatRootJoin(String path, Class<?> type, String property) protected StringtreatRootTreatJoin(JoinType joinType, String path, Class<?> type, String property, Class<?> type2, String alias) protected StringtreatRootWhereFragment(String alias, Class<?> rootType, Class<?> treatType, String after) protected static Stringprotected static StringtsLiteral(LocalDateTime value) protected static StringMethods inherited from class com.blazebit.persistence.testsuite.base.AbstractPersistenceTest
addIgnores, applyProperties, configurePersistenceUnitInfo, createDataSource, doesJpaMergeOfRecentlyPersistedEntityForceUpdate, getConnection, getJpaProviderFamily, getJpaProviderMajorVersion, getJpaProviderMinorVersion, getRelationalModelAccessor, supportsIndexedInplaceUpdate, supportsInverseSetCorrelationJoinsSubtypesWhenJoined, supportsMapKeyDeReference, supportsNestedEmbeddables, supportsTableGroupJoinsMethods inherited from class com.blazebit.persistence.testsuite.base.jpa.AbstractJpaPersistenceTest
assertOrderedQuerySequence, assertQueryCount, assertUnorderedEquals, assertUnorderedQuerySequence, cleanDatabase, cleanDatabaseWithCleaner, clearCollections, clearQueries, clearSchema, clearSchemaUsingJpa, closeEmf, createBootstrapProperties, createDataSource, createEntityManagerFactory, createProperties, createSchemaIfNotExists, destruct, disableQueryCollecting, enableQueryCollecting, getDatabaseCleaner, getDefaultDatabaseCleaner, getSchemaMode, getTargetDatabase, getTargetSchema, init, initLogging, needsEntityManagerForDbAction, optimizesUnnecessaryCasts, populateSchema, recreateDataSource, repopulateSchema, resetTimeZoneCaches, runTestInTransaction, setUpOnce, supportsAdvancedSql, supportsLazyCollectionElementJoin, supportsProxyRemoveWithoutLoading, supportsSingleStatementNaturalIdCollectionFetching, tearDownClass, verifyException, verifyException
-
Field Details
-
STATIC_JPA_PROVIDER
-
dbms
-
-
Constructor Details
-
AbstractCoreTest
public AbstractCoreTest()
-
-
Method Details
-
requiresCriteriaBuilderConfigurationCustomization
protected boolean requiresCriteriaBuilderConfigurationCustomization()- Overrides:
requiresCriteriaBuilderConfigurationCustomizationin classcom.blazebit.persistence.testsuite.base.jpa.AbstractJpaPersistenceTest
-
configure
- Overrides:
configurein classcom.blazebit.persistence.testsuite.base.jpa.AbstractJpaPersistenceTest
-
listParameter
Only use this for parameters that have more than 1 value!- Parameters:
name-- Returns:
-
joinAliasValue
-
joinAliasValue
-
onClause
-
booleanConditionalExpression
-
escapeCharacter
-
noEscape
-
renderNullPrecedence
-
renderNullPrecedenceGroupBy
-
groupBy
-
groupByPathExpressions
-
countStar
-
correlationPath
-
correlationPath
-
correlationPath
-
correlationPath
-
correlationPath
-
countPaginated
-
countPaginatedBounded
-
treatRoot
-
treatRoot
-
treatRootWhereFragment
-
treatJoinedConstraintFragment
-
treatJoinWhereFragment
-
treatJoin
-
treatRootJoin
-
treatRootTreatJoin
-
renderNullPrecedence
-
staticJoinAliasValue
-
function
-
count
-
countDistinct
-
countTuple
-
countTupleDistinct
-
singleValuedAssociationIdJoin
-
singleValuedAssociationIdPath
-
singleValuedAssociationIdNullnessPath
-
tsLiteral
-
tsLiteral
-
tsLiteral
-
dateLiteral
-
timeLiteral
-
resolveRegisteredFunctionName
-
getEntityClasses
- Specified by:
getEntityClassesin classcom.blazebit.persistence.testsuite.base.jpa.AbstractJpaPersistenceTest
-
concat
protected static <T> T[] concat(T[] array1, T... array2) -
transactional
-
transactional
-