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
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
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
Rob Bygrave
bc6d2fb3be
Merge branch 'master' into wip/h2database-v2
2022-01-25 21:30:36 +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
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
b60f9201a9
FIX: MysqlGenerateMigrationTest now clears pendingDrops System-Property
2021-11-26 15:58:20 +01: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
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
66143280fa
#2357 - Update tests to move away from deprecated methods
2021-09-07 21:44:07 +12:00
rbygrave
0ddcfec70d
Junit5 bump - ebean-ddl-generator, autotune and api
2021-09-06 17:49:06 +12:00
rbygrave
d072dd52cf
#2355 - Rename methods in SpiServer with deprecation
2021-09-03 20:17:12 +12:00
rbygrave
aa53742a07
#2352 - Rename ServerCache methods with deprecation
2021-09-03 17:24:33 +12:00
Rob Bygrave
0ed6ccf499
#2348 - Rename Database.getServerCacheManager() to cacheManager() with deprecation
2021-09-02 23:14:33 +12:00
Rob Bygrave
fe67abce83
#2347 - Rename Database.getPlatform() to platform() with deprecation
2021-09-02 23:04:57 +12:00
Rob Bygrave
7fba9adc43
#2346 - Rename Database.getMetaInfoManager() to metaInfo() with deprecation
2021-09-02 22:58:09 +12:00
rbygrave
09cb5da3d3
#2326 - [ddl generator] Primary key constraint not generated for @IdClass
2021-08-22 15:55:08 +12:00
rbygrave
801d419f51
Refactor io.ebean.meta API, method rename with deprecation
2021-08-06 13:14:29 +12:00
rbygrave
f34e0f5f2b
#2287 - ebean-migration: For multiple platforms automatically run the correct migrations
2021-08-05 23:03:02 +12:00
rbygrave
db34afe867
#2284 - ENH: ddl-generator - add optional generation of idx_<platform>.migrations file
2021-08-03 00: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
928b90122f
#2283 - ddl-generator - Add DbMigration.addPlatform(Platform) with default sub-directory based on Platform
2021-08-02 20:15:51 +12:00
rob bygrave
57736185d0
#2206 - Postgres DDL generation - for create index use "if not exists" clause
2021-03-25 23:13:15 +13:00
Robin Bygrave
8992980689
#2206 - Postgres DDL generation - for create index use "if not exists" clause
2021-03-25 16:45:44 +13:00
rob bygrave
f341ff0167
#2205 - [oracle] Incorrect DDL generated for alter table add column
2021-03-23 23:58:28 +13:00
rob bygrave
abfa841ed7
#2205 - [oracle] Incorrect DDL generated for alter table add column
2021-03-23 23:51:07 +13:00
rob bygrave
046033627a
Update tests - generated sql for add constraint foreign key
2020-12-03 13:22:13 +13:00
rob bygrave
9ab26cfb9d
#2118 - Fix test only PlatformDdl_AlterColumnTest
2020-12-03 09:48:41 +13:00
rob bygrave
aa1e3ea1bc
#2118 - Generated code for @DbForeignKey reading onDelete and Ignores onUpdate
2020-12-01 22:04:07 +13:00
rob bygrave
6ecd849499
#2104 - Refactor rename ebean-ddlgen module to ebean-ddl-generator
2020-11-18 22:28:33 +13:00