Roland Praml
2dc9087eb3
DB2 does not support ids in compressed form
2022-01-07 14:44:43 +01:00
Roland Praml
193617a107
DB2: FIX Db2SqlLimiter & tests
2022-01-07 11:12:28 +01:00
Roland Praml
442732d70d
DB2: SqlCodeTranslator must check exception chain
2022-01-07 10:37:53 +01:00
Roland Praml
5a59298cb8
DB2: Enable persistBatchOnCascade
2022-01-07 10:15:34 +01:00
Roland Praml
47d5405b7c
DB2: Fix Raw like
2022-01-05 17:04:01 +01:00
Roland Praml
f7be1de6df
DB2: Fix Sequence generator
2022-01-05 16:44:31 +01:00
Roland Praml
1ff0d78170
DB2: Update table & constraint name length to 128
2022-01-05 16:35:06 +01:00
Roland Praml
50c612f8ec
NEW: PersistVisitor
2022-01-05 10:26:29 +01:00
Roland Praml
7256d97841
Merge branch 'add-start-to-plugins' into ebean-new
...
# Conflicts:
# ebean-core/src/main/java/io/ebeaninternal/server/core/DefaultServer.java
# ebean-ddl-generator/src/main/java/io/ebeaninternal/dbmigration/DdlPlugin.java
2022-01-03 16:09:16 +01:00
Roland Praml
301d8b6f1f
Merge branch 'api-to-run-ddl-manually' into ebean-new
...
# Conflicts:
# ebean-core/src/main/java/io/ebeaninternal/server/core/DefaultServer.java
2022-01-03 16:05:17 +01:00
Roland Praml
f18b72cc83
Merge branch 'tmp2' into ebean-new
2022-01-03 15:52:50 +01:00
Roland Praml
699f7a8449
DDL generate & run is now a plugin
2022-01-03 13:41:59 +01:00
Roland Praml
b7905eb0f6
reverted runDdl and runMigration method.
2022-01-03 13:17:28 +01:00
Roland Praml
c1b928015b
Merge branch 'tmp2' into api-to-run-ddl-manually
2022-01-03 10:42:15 +01:00
tFellner and GitHub
42594533da
Support for Sequences in MariaDB ( #2304 )
...
* Support for Sequneces in MariaDB
* clean up readSequenceValue in test class
* remove flakiness
* remove change for later discussion
* replace deprecated methods
* strictly allow sequences
2021-12-20 16:11:30 +13:00
Rob Bygrave and GitHub
227d18bbf0
Merge pull request #2469 from FOCONIS/pr/enh/helper_methods_annotation_util
...
Add metaHas and metaFindAll in AnnotationUtil
2021-12-20 10:28:32 +13:00
Jonas Pöhler
91d1fb8cea
ADD: javadoc
2021-12-17 15:10:30 +01:00
Roland Praml
39140ae3dc
Merge branch 'api-to-run-ddl-manually' into ebean-new
...
# Conflicts:
# ebean-api/src/main/java/io/ebean/Database.java
# ebean-core/src/main/java/io/ebeaninternal/server/core/DefaultServer.java
# ebean-ddl-generator/src/main/java/io/ebeaninternal/dbmigration/DdlGenerator.java
2021-12-17 14:12:42 +01:00
Jonas Pöhler
058021f8d0
ADD: metaHas and metaFindAll as functional sugar
2021-12-17 13:56:08 +01:00
Roland Praml
adf14a1f35
FIX: javadoc
2021-12-17 13:26:30 +01:00
Roland Praml
eb6aacce4b
Provide API to run ddl and migration manually (e.g. with offline DB)
2021-12-17 12:04:27 +01:00
Roland Praml
d6dde2f63d
Provide API to run ddl and migration manually (e.g. with offline DB)
2021-12-17 11:57:23 +01:00
Roland Praml
090f54236d
FIX: WeakRefs are not correctly tracked if file was deleted
2021-12-17 11:12:39 +01:00
Roland Praml and Jonas Pöhler
65e924feaa
Deleted obsolete LoadErrorHandler
2021-12-17 10:44:42 +01:00
Roland Praml
6b0d04547e
Merge remote-tracking branch 'upstream/master' into ebean-new
...
# Conflicts:
# ebean-api/pom.xml
# ebean-api/src/main/java/io/ebean/config/dbplatform/db2/DB2Platform.java
# ebean-autotune/pom.xml
# ebean-bom/pom.xml
# ebean-core-type/pom.xml
# ebean-core/pom.xml
# ebean-core/src/main/java/io/ebeaninternal/server/type/DefaultTypeManager.java
# ebean-ddl-generator/pom.xml
# ebean-externalmapping-api/pom.xml
# ebean-externalmapping-xml/pom.xml
# ebean-postgis/pom.xml
# ebean-querybean/pom.xml
# ebean-redis/pom.xml
# ebean-test/pom.xml
# ebean-test/src/test/resources/ebean.properties
# ebean-test/testconfig/ebean-mariadb-10.3.properties
# ebean-test/testconfig/ebean-mariadb.properties
# ebean-test/testconfig/ebean-mysql.properties
# ebean-test/testconfig/ebean-sqlserver17.properties
# ebean/pom.xml
# kotlin-querybean-generator/pom.xml
# pom.xml
# querybean-generator/pom.xml
2021-12-17 08:27:59 +01:00
Roland Praml
e5036990f2
Revert "ENH: allow server startup without running ddl and thus allowing starting with the database not yet up and later lazily initializing the database and running ddl"
...
This reverts commit af0f9a4d15 .
2021-12-17 08:13:02 +01:00
Rob Bygrave
1a6a426683
#2458 - Add BeanPersistController.isCascade() to identify cascade vs "top level" persist requests
2021-12-17 10:43:27 +13:00
Rob Bygrave
0dbf982293
Javadoc only update in PlatformConfig
2021-12-15 21:47:58 +13:00
Rob Bygrave
c3295f1145
#2445 - Put back DB2 maxTableNameLength=18, maxConstraintNameLength=18
2021-12-13 20:54:49 +13:00
FOCONIS\szemenyei
0ea783693d
onPersistTrigger with profileEventId
2021-12-09 14:56:42 +01:00
Roland Praml
d6db42734e
ADD: Db2 container support
2021-11-29 08:03:09 +01:00
Roland Praml
2581d82cff
FIX: Sqlite does not support ResultSetConcurrencyModeUpdatable
2021-11-26 15:02:46 +01:00
Roland Praml
dfb1d6ab54
ADD: Db2 container support
2021-11-26 15:01:15 +01:00
Rob Bygrave
07f9bf98c3
#2436 - SQL Update doesn't handle named parameters for array types in Postgres
2021-11-26 14:46:06 +13:00
Noemi Szemenyei
6ea8f5c12b
Merge branch 'master' of https://github.com/ebean-orm/ebean into ebean-new
...
# Conflicts:
# ebean-core/src/main/java/io/ebeaninternal/server/core/OrmQueryRequest.java
# ebean-core/src/main/java/io/ebeaninternal/server/deploy/AssocOneHelpRefInherit.java
# ebean-core/src/main/java/io/ebeaninternal/server/deploy/BeanDescriptor.java
# ebean-core/src/main/java/io/ebeaninternal/server/querydefn/OrmQueryPropertiesParser.java
2021-11-22 08:07:30 +01:00
Jonas Pöhler and Noemi Szemenyei
2d26740286
FIX: typeGetAll did not work with repeated annotations on one class
2021-11-16 11:24:22 +01:00
Jonas Pöhler
6eb13fda7a
FIX: typeGetAll did not work with repeated annotations on one class
2021-11-12 17:29:10 +01:00
Jonas Pöhler
f98292be41
ADD: metaHas and metaFindAll as functional sugar
2021-11-12 15:56:07 +01:00
Jonas Pöhler
afe98c6d90
Delete unused LoadErrorHandler.java
2021-11-04 16:39:43 +01:00
Jonas Pöhler
ad255b5912
FIX: _ebean_recalc -> _ebean_onPersistTrigger
2021-10-28 18:04:48 +02:00
Jonas Pöhler
50824f1d7f
NEW: CustomDeployParser
2021-10-22 15:04:46 +02:00
Jonas Pöhler
60cf9fa078
NEW: TempFileProvider will clean up files automatically if the reference is gc'ed
2021-10-22 14:20:36 +02:00
Jonas Pöhler
af0f9a4d15
ENH: allow server startup without running ddl and thus allowing starting with the database not yet up and later lazily initializing the database and running ddl
2021-10-22 13:59:54 +02:00
Roland Praml and Jonas Pöhler
7ace1c87a1
NEW: method ebean_recalc notifies the bean to perform additional computations
...
(cherry picked from commit f140795423 )
2021-10-22 13:33:56 +02:00
Jonas Pöhler
8c66049f10
Optionally allow use of stored procedures for MySql to drop columns in db migration
2021-10-22 13:28:48 +02:00
Rob Bygrave
8fb02662e6
#2423 Add @Nullable on single bean publish and restore by id
2021-10-20 20:06:59 +13:00
Rob Bygrave
b3ee982b64
Use @NonNullApi to explicitly reflect non-null return types and params by default
2021-10-20 15:45:20 +13:00
Rob Bygrave
c7bb027c7d
#2422 - Remove extraneous jsr 305 @Nonnull
2021-10-19 17:33:23 +13:00
Rob Bygrave
709eb369c9
#2419 - Add explicit @Nullable on findOne() methods
2021-10-19 12:12:11 +13:00
Rob Bygrave
a61c73c62a
#2418 #2420 BeanState.loadErrors() returns empty map
...
Change Database.beanState() to throw IllegalArgumentException when bean isn't an entity bean
2021-10-19 11:52:36 +13:00