Roland Praml
bf99f9d08d
Fix: HANA always requires stored procedures (similar to SqlServer), Fix: default value on intermediate alters
2022-02-25 12:09:09 +01:00
Roland Praml
70ec8a3891
Removed unused code
2022-02-23 11:17:16 +01:00
Roland Praml
2dfa9d2e77
No effective code change: Normalized "DdlWrite write" to "DdlWrite writer"
2022-02-23 11:14:22 +01:00
Rob Bygrave
915bf29eaf
Merge pull request #2557 from FOCONIS/add-reorg-support
...
Refactored DDL generation
2022-02-22 13:19:51 +13:00
Rob Bygrave
dad4837b50
No change - format code only
2022-02-22 13:15:28 +13:00
Roland Praml
36bda117a6
No effective code change: Tidy up (organize imports/fix java warnings)
2022-02-17 14:47:05 +01:00
Roland Praml
08838770e9
No effective code change: Removed obsolete IOExceptions
2022-02-17 14:45:02 +01:00
Noemi Szemenyei
e3980a14a2
review changes
2022-02-17 09:52:23 +01:00
Noemi Szemenyei
48e875714b
solution v1
...
(cherry picked from commit 3d83c6bd0e2bcca6fc04f73ce08983266b9df636)
2022-02-17 08:13:39 +01:00
Roland Praml
53c8827a52
Refactor: remove MConfiguration from BaseDdlBuffer (it is unused, and may/should be re-added to the DdlWrite when needed)
2022-02-08 16:21:25 +01:00
Roland Praml
6e5eb6b963
Refactor: BaseDdlBuffer uses StringBuilder instead of StringWriter. Makes IOException obsolete.
2022-02-08 16:04:14 +01:00
Roland Praml
a731bfdfaf
Multi-platform tests
2022-02-07 16:04:59 +01:00
Roland Praml
cb89b903fd
Regenerated scripts & tests
2022-02-07 14:07:10 +01:00
Roland Praml
a93e2e05c5
Moved DbMigrationtests test to "ebean-tests"
2022-02-07 11:55:41 +01:00
Rob Bygrave
a72cbaf243
#2547 - Cockroach identity DDL - Changing to use standard GENERATED ... AS IDENTITY syntax
2022-02-04 08:40:23 +13:00
Rob Bygrave
f7c83411c2
#2415 - SQL for Index and Foreign Key didn't get generated if I map ID column after @ManyToOne
...
Allow declaring the column twice with scalar type after ManyToOne type
2022-02-02 17:12:18 +13:00
Rob Bygrave
530a75b591
DB - test ddl changes
2022-02-01 13:24:50 +13:00
Roland Praml
f2e04d9fbf
DB2. Support for unique indices with null columns
...
(cherry picked from commit 23a5d577a6 )
2022-01-31 13:58:40 +01:00
Rob Bygrave
be93263015
Merge pull request #2513 from FOCONIS/h2-backward-compat
...
Test against H2 1.4.199
2022-01-29 11:23:19 +13:00
Rob Bygrave
64605b5090
Yugabyte platform support - Automatic detection and DDL support
...
- Automatic detection similar to Cockroach
- DDL very similar to Postgres but no CREATE TABLE LIKE support (for history DDL)
2022-01-28 17:04:19 +13:00
Roland Praml
5b63434f13
reindent code and linked #2514
2022-01-27 16:43:35 +01:00
Roland Praml
190b4ef588
Made some fixes in wrong ddl generation
2022-01-27 15:58:44 +01:00
Roland Praml
4a20c9eb99
Test against H2 1.4.199
2022-01-27 13:56:21 +01:00
Roland Praml
d8c2b3d583
FIX: Compile errors
2022-01-27 10:34:25 +01:00
Rob Bygrave
bc6d2fb3be
Merge branch 'master' into wip/h2database-v2
2022-01-25 21:30:36 +13:00
Rob Bygrave
0139ad891e
#2403 - table partitioning (Postgres only at this point) is always included + simplify skip logic
2022-01-21 17:20:21 +13:00
Rob Bygrave
4f70c09690
Merge branch 'pr/enh/stored_procedures_mysql_drop_column' of https://github.com/FOCONIS/ebean into FOCONIS-pr/enh/stored_procedures_mysql_drop_column
2022-01-21 17:06:48 +13:00
FOCONIS\szemenyei
8eed983fbb
restore old test
2022-01-12 08:37:46 +01:00
Roland Praml
01847e44de
Always use UTF-8
2022-01-11 10:11:13 +01:00
FOCONIS\szemenyei
0cf9f0bf58
Revert "at first revert solution"
...
This reverts commit b01b44af10 .
2022-01-11 09:49:02 +01:00
FOCONIS\szemenyei
b01b44af10
at first revert solution
2022-01-11 09:48:47 +01:00
FOCONIS\szemenyei
8d85000970
Fix Checksum calculate() with special characters
...
(cherry picked from commit e9efd5a702 )
2022-01-11 09:47:44 +01:00
Rob Bygrave
860aad11ce
WIP h2database v2
2021-12-17 23:22:25 +13:00
Rob Bygrave
b4ebeb0070
#2445 - update test generated ddl as part of ... Put back DB2 maxTableNameLength=18, maxConstraintNameLength=18
2021-12-15 21:49:02 +13:00
Rob Bygrave
a82dca24da
changed generated migrations from db2 change in #2445
2021-12-01 09:52:39 +13:00
Jonas Pöhler
c67e66c0ca
Merge remote-tracking branch 'ebean/master' into pr/enh/stored_procedures_mysql_drop_column
2021-11-26 15:58:50 +01:00
Jonas Pöhler
b60f9201a9
FIX: MysqlGenerateMigrationTest now clears pendingDrops System-Property
2021-11-26 15:58:20 +01:00
Roland Praml
331ea90e14
Fix: Support conversion of varchar[](300) array type for Clickhouse
2021-11-26 15:02:01 +01:00
Rob Bygrave
5178b76431
Update internals migrate from deprecated methods baseTable()
2021-10-20 20:07:54 +13:00
Jonas Pöhler
091b5fbf26
Optionally allow use of stored procedures for MySql to drop columns in db migration
2021-09-27 17:08:22 +02:00
Rob Bygrave
23cd45b5d1
#2039 LocalDateTime ignore timestamp->localdatetime as a type change
...
Historically LocalDateTime mapped to logical timestamp and we need to treat that to be not a change in type. Migrations then will not generate a AlterColumn migration when we start using the new logical type localdatetime.
2021-09-22 16:51:47 +12:00
Rob Bygrave
0bf8c9eb64
Add module-info support via multi-version jar ( #2381 )
2021-09-21 14:37:51 +12:00
Rob Bygrave
04ab161421
#2367 - Modify ebean-ddl-generator to not have a dependency on ImportedId
...
Effectively remove the import io.ebeaninternal.server.deploy.id.ImportedId; dependency
2021-09-15 19:14:38 +12:00
Rob Bygrave
7226bb0ea3
#2367 - Modify ebean-ddl-generator to not have a dependency on MultiValueBind
...
Effectively remove the import io.ebeaninternal.server.persist.platform.MultiValueBind; dependency
2021-09-15 17:04:01 +12:00
Rob Bygrave
512ba24041
#2364 - Move tests only in ebean-ddl-generator
2021-09-14 19:10:23 +12:00
rbygrave
1049435f86
Tidy up ddl-generator BaseTestCase
2021-09-08 17:31:14 +12:00
rbygrave
93ff2ef2e4
#2359 - Rename internal methods - SpiEbeanServer
2021-09-08 15:25:18 +12:00
rbygrave
d389ac680f
#2359 - Rename internal methods - BeanDescriptor
2021-09-08 15:17:17 +12:00
rbygrave
d582e63c25
#2359 - Rename internal methods - STreeProperty
2021-09-08 14:41:12 +12:00
rbygrave
632f04c76b
#2359 - Rename plugin api methods with deprecation - Property
2021-09-08 14:04:31 +12:00