Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescription- migrate to
DatabaseConfig.classes().- migrate toDatabaseConfig.isLoadModuleInfo().- migrate toDatabaseBuilder.Settings.classes().Sorry if returning Set rather than List breaks code but it feels safer to do that than a subtle change to return a shallow copy which you will not detect.
- migrate toDatabaseBuilder.Settings.isLoadModuleInfo().migrate to usingPagedList.emptyList()only.An empty PagedList.
For use in application code when we need to return a PagedList but don't want to execute a query.
PagedList<Customer> empty = PagedList.emptyList();migrate toExpressionList.usingTransaction(Transaction)then delete().Execute as a delete query deleting the 'root level' beans that match the predicates in the query.
Note that if the query includes joins then the generated delete statement may not be optimal depending on the database platform.
migrate toExpressionList.orderBy().migrate toExpressionList.orderBy(String)migrate toExpressionList.usingTransaction(Transaction)then update().Execute as a update query with the given transaction.
This method will be removed from public API.Create an empty OrderBy with no associated query.
This method will be removed from public API.migrate toOrderBy.of(String).This method will become internal only API.Return a copy of this OrderBy with the path trimmed.
migrate toQueryBuilder.usingTransaction(Transaction)then delete().Execute as a delete query returning the number of rows deleted using the given transaction.
Note that if the query includes joins then the generated delete statement may not be optimal depending on the database platform.
migrate toQuery.orderBy().migrate toQuery.orderBy().migrate toQueryBuilder.setOrderBy(OrderBy).migrate toQueryBuilder.usingTransaction(Transaction)then update().Execute the UpdateQuery returning the number of rows updated using the given transaction.
-
Deprecated ClassesClassDescriptionmigrate to using
PagedList.emptyList()only.An empty PagedList.
For use in application code when we need to return a PagedList but don't want to execute a query.
PagedList<Customer> empty = PagedList.emptyList();
-
Deprecated MethodsMethodDescription- migrate to
DatabaseConfig.classes().- migrate toDatabaseConfig.isLoadModuleInfo().migrate toDatabaseBuilder.allQuotedIdentifiers(boolean).migrate toDatabaseBuilder.asOfSysPeriod(String).migrate toDatabaseBuilder.asOfViewSuffix(String).migrate toDatabaseBuilder.autoPersistUpdates(boolean).migrate toDatabaseBuilder.autoReadOnlyDataSource(boolean).migrate toDatabaseBuilder.autoTuneConfig(AutoTuneConfig).migrate toDatabaseBuilder.cacheMaxIdleTime(int).migrate toDatabaseBuilder.cacheMaxSize(int).migrate toDatabaseBuilder.cacheMaxTimeToLive(int).migrate toDatabaseBuilder.changeLogAsync(boolean).migrate toDatabaseBuilder.changeLogIncludeInserts(boolean).migrate toDatabaseBuilder.classLoadConfig(ClassLoadConfig).migrate toDatabaseBuilder.clock(Clock).migrate toDatabaseBuilder.containerConfig(ContainerConfig).migrate toDatabaseBuilder.databaseBooleanFalse(String).migrate toDatabaseBuilder.databaseBooleanTrue(String).migrate toDatabaseBuilder.databasePlatformName(String).migrate toDatabaseBuilder.databaseSequenceBatch(int).migrate toDatabaseBuilder.databaseSequenceBatchSize(int).migrate toDatabaseBuilder.dataSource(DataSource).migrate toDatabaseBuilder.dataTimeZone(String).migrate toDatabaseBuilder.dbEncrypt(DbEncrypt).migrate toDatabaseBuilder.offline(boolean).migrate toDatabaseBuilder.setDbSchema(String)migrate toDatabaseBuilder.dbUuid(PlatformConfig.DbUuid).migrate toDatabaseBuilder.ddlCreateOnly(boolean).migrate toDatabaseBuilder.ddlExtra(boolean).migrate toDatabaseBuilder.ddlGenerate(boolean).migrate toDatabaseBuilder.ddlHeader(String).migrate toDatabaseBuilder.ddlInitSql(String).migrate toDatabaseBuilder.ddlPlaceholderMap(Map).migrate toDatabaseBuilder.ddlPlaceholders(String).migrate toDatabaseBuilder.ddlRun(boolean).migrate toDatabaseBuilder.ddlSeedSql(String).migrate toDatabaseBuilder.ddlStrictMode(boolean).migrate toDatabaseBuilder.defaultEnumType(EnumType).migrate toDatabaseBuilder.defaultDatabase(boolean).migrate toDatabaseBuilder.disableClasspathSearch(boolean).migrate toDatabaseBuilder.disableL2Cache(boolean).migrate toDatabaseBuilder.disableLazyLoading(boolean).migrate toDatabaseBuilder.dumpMetricsOnShutdown(boolean).migrate toDatabaseBuilder.dumpMetricsOptions(String).migrate toDatabaseBuilder.durationWithNanos(boolean).migrate toDatabaseBuilder.eagerFetchLobs(boolean).migrate toDatabaseBuilder.enabledL2Regions(String).migrate toDatabaseBuilder.encryptor(Encryptor).migrate toDatabaseBuilder.expressionNativeIlike(boolean).migrate toDatabaseBuilder.geometrySRID(int).migrate toDatabaseBuilder.historyTableSuffix(String).migrate toDatabaseBuilder.idGeneratorAutomatic(boolean).migrate toDatabaseBuilder.idType(IdType).migrate toDatabaseBuilder.jdbcFetchSizeFindEach(int).migrate toDatabaseBuilder.jdbcFetchSizeFindList(int).migrate toDatabaseBuilder.jodaLocalTimeMode(String).migrate toDatabaseBuilder.jsonFactory(JsonFactory).migrate toDatabaseBuilder.jsonInclude(JsonConfig.Include).migrate toDatabaseBuilder.lazyLoadBatchSize(int).migrate toDatabaseBuilder.loadModuleInfo(boolean).migrate toDatabaseBuilder.localOnlyL2Cache(boolean).migrate toDatabaseBuilder.localTimeWithNanos(boolean).migrate toDatabaseBuilder.mappingLocations(List).migrate toDatabaseBuilder.maxCallStack(int).migrate toDatabaseBuilder.metricNaming(Function).migrate toDatabaseBuilder.name(String).migrate toDatabaseBuilder.objectMapper(Object).migrate toDatabaseBuilder.persistBatch(PersistBatch).migrate toDatabaseBuilder.persistBatching(boolean).migrate toDatabaseBuilder.persistBatchSize(int).migrate toDatabaseBuilder.platformConfig(PlatformConfig).migrate toDatabaseBuilder.profilingConfig(ProfilingConfig).migrate toDatabaseBuilder.queryBatchSize(int).migrate toDatabaseBuilder.queryCacheMaxIdleTime(int).migrate toDatabaseBuilder.queryCacheMaxSize(int).migrate toDatabaseBuilder.queryCacheMaxTimeToLive(int).migrate toDatabaseBuilder.queryPlanCapture(boolean).migrate toDatabaseBuilder.queryPlanCaptureMaxCount(int).migrate toDatabaseBuilder.queryPlanCapturePeriodSecs(long).migrate toDatabaseBuilder.queryPlanEnable(boolean).migrate toDatabaseBuilder.queryPlanThresholdMicros(long).migrate toDatabaseBuilder.queryPlanTTLSeconds(int).migrate toDatabaseBuilder.readOnlyDataSource(DataSource).migrate toDatabaseBuilder.register(boolean).migrate toDatabaseBuilder.resourceDirectory(String).migrate toDatabaseBuilder.runMigration(boolean).migrate toDatabaseBuilder.skipCacheAfterWrite(boolean).migrate toDatabaseBuilder.skipDataSourceCheck(boolean).migrate toDatabaseBuilder.slowQueryMillis(long).migrate toDatabaseBuilder.tenantMode(TenantMode).migrate toDatabaseBuilder.tenantPartitionColumn(String).- migrate toDatabaseBuilder.Settings.classes().Sorry if returning Set rather than List breaks code but it feels safer to do that than a subtle change to return a shallow copy which you will not detect.
- migrate toDatabaseBuilder.Settings.isLoadModuleInfo().migrate toDatabaseBuilder.useValidationNotNull(boolean).migrate toDatabaseBuilder.uuidNodeId(String).migrate toDatabaseBuilder.uuidStateFile(String).migrate toExpressionList.usingTransaction(Transaction)then delete().Execute as a delete query deleting the 'root level' beans that match the predicates in the query.
Note that if the query includes joins then the generated delete statement may not be optimal depending on the database platform.
migrate toExpressionList.orderBy().migrate toExpressionList.orderBy(String)migrate toExpressionList.usingTransaction(Transaction)then update().Execute as a update query with the given transaction.
This method will become internal only API.Return a copy of this OrderBy with the path trimmed.
migrate toQueryBuilder.usingTransaction(Transaction)then delete().Execute as a delete query returning the number of rows deleted using the given transaction.
Note that if the query includes joins then the generated delete statement may not be optimal depending on the database platform.
migrate toQuery.orderBy().migrate toQuery.orderBy().migrate toQueryBuilder.setOrderBy(OrderBy).migrate toQueryBuilder.usingTransaction(Transaction)then update().Execute the UpdateQuery returning the number of rows updated using the given transaction.
-
Deprecated ConstructorsConstructorDescriptionThis method will be removed from public API.
Create an empty OrderBy with no associated query.
This method will be removed from public API.migrate toOrderBy.of(String).