Noemi Szemenyei
48e875714b
solution v1
...
(cherry picked from commit 3d83c6bd0e2bcca6fc04f73ce08983266b9df636)
2022-02-17 08:13:39 +01:00
Rob Bygrave
5a07a54544
Merge pull request #2555 from FOCONIS/clickhouse-dbarray-type-missing
...
ClickHouseDb - decimal[] array type missing
2022-02-08 10:12:46 +13:00
Roland Praml
999be3e0a7
ClickHouseDb - decimal[] array type missing
2022-02-07 16:40:11 +01:00
Roland Praml
dabb1451e9
Add Yugabyte-Platform to DefaultDbMigration
2022-02-07 16:34:39 +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
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
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
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
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
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
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
rbygrave
bc02eeac57
#2359 - Rename plugin api methods with deprecation - BeanType
2021-09-08 13:13:29 +12:00
rbygrave
3ac8d6e1d3
#2357 - Modify ddl-generator CurrentModel away from deprecated methods
2021-09-07 21:45:23 +12:00
rbygrave
4d4065c54b
#2355 - Rename methods in SpiServer with deprecation
2021-09-04 21:55:23 +12:00
Rob Bygrave
12c5e9ea5d
#2344 - Rename Database.getDataSource() to dataSource() with deprecation
2021-09-02 22:48:09 +12:00
Rob Bygrave
f770b66f42
#2342 - Rename Database.getName() to Database.name() with deprecation
2021-09-02 22:41:51 +12:00
Roland Praml
b2bfca7ec6
no effective code change: Add missing @Override annotation and removed duplicate methods in interfaces
2021-09-01 09:58:27 +02:00
rbygrave
09cb5da3d3
#2326 - [ddl generator] Primary key constraint not generated for @IdClass
2021-08-22 15:55:08 +12:00
rbygrave
16a05528b7
#2318 - Refactor internals - final classes in deploy packages etc
2021-08-17 19:00:55 +12:00
rbygrave
f34e0f5f2b
#2287 - ebean-migration: For multiple platforms automatically run the correct migrations
2021-08-05 23:03:02 +12:00
rbygrave
589ee7a5ea
#2284 - ENH: ddl-generator - add optional generation of idx_<platform>.migrations file
2021-08-02 23:59:49 +12:00
rbygrave
4ba26ee7b7
#2283 - ddl-generator - Refactor tidy DefaultDbMigration etc
2021-08-02 20:49:30 +12:00
rbygrave
71223895ac
#2283 - ddl-generator - Refactor tidy whitespace etc
2021-08-02 20:38:05 +12:00
rbygrave
928b90122f
#2283 - ddl-generator - Add DbMigration.addPlatform(Platform) with default sub-directory based on Platform
2021-08-02 20:15:51 +12:00
Roland Praml
66cb6d5e7d
Imporved @Where support, especially for Many-to-many tables
2021-06-21 14:50:15 +02:00
rbygrave
c9120be347
No effective change - tidy only H2HistoryTrigger and H2HistoryDdl
2021-06-04 17:37:37 +12:00
rbygrave
b189e67b4c
#2241 - Offline DDL migration generation for H2 requires H2 Driver
2021-06-04 17:35:19 +12:00
Robin Bygrave
c60077174e
Tidy use of StringHelper replace() in BeanProperty, BaseTableDdl
2021-04-20 15:14:20 +12:00
rbygrave
bb6ff866c7
#2220 - DDL generation of nullable columns expected with nullable Embedded containing non null properties
2021-04-19 21:37:05 +12:00