Roland Praml and Rob Bygrave
9ad460ecd8
FIX: applied history drops were not recognized ( #1422 )
2018-06-14 00:07:14 +12:00
rob bygrave
2427630c07
#1400 - Postgres @History table sys_period empty with multiple updates
2018-06-11 22:10:43 +12:00
Rob Bygrave
98964638ba
#1412 - Fix Resource leaks for properties & yaml files etc - MigrationXmlReader
2018-06-10 23:43:41 +12:00
Rob Bygrave
a2972abe3e
#1412 - Fix Resource leaks for properties & yaml files etc - DdlGenerator
2018-06-10 23:33:21 +12:00
rob bygrave
ddc00fedb6
#1397 - @DbForeignKey(noConstraint = true) is ignored on @ManyToMany ... foreign constraints still added
2018-05-31 10:55:58 +12:00
rob bygrave
ed6a9e2dbb
#1386 - ENH: For DbMigration generation - add support for setting version, name, generatePendingDrop, applyPrefix, ddl header
2018-05-27 15:37:45 +12:00
rob bygrave
42d83705b7
#1384 - Change MigrationXmlWriter to not write <!DOCTYPE xml> (as it is not needed/expected now)
2018-05-24 00:15:25 +12:00
Roland Praml and Rob Bygrave
41a31c1aa0
trigger based history will recreate view properly and handle default … ( #1370 )
...
* trigger based history will recreate view properly and handle default value also for history view
* HistoryTriggers are generated at the end
* Reference Script
* MYSQL: lock all tables at once
2018-05-20 17:19:10 +12:00
Rob Bygrave
74a9019535
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - simple List.
2018-03-20 14:22:29 +13:00
Rob Bygrave
c44931ea25
#115 - Supporting changes for Element collection support
2018-03-20 09:04:58 +13:00
Rob Bygrave
eda6350d89
#1344 - ENH: Add initial Cockroach DB support ... need to review JSON
...
Adds in the DB ARRAY support (exactly the same as Postgres)
2018-03-09 17:40:34 +13:00
Rob Bygrave
8ac1b745df
#1344 - ENH: Add initial Cockroach DB support ... need to review JSON and DB ARRAY support
2018-03-09 16:54:38 +13:00
Rob Bygrave
2042bdf29a
#1342 - Refactor and rename DbTypeConfig to Platform config to support multi-platform db migration
2018-03-08 23:23:50 +13:00
Rob Bygrave
4fc7898f85
#1340 - Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Changes to main
2018-03-08 17:36:53 +13:00
Rob Bygrave
8711ebc6f7
Merge branch 'fix-limit-constraint-names' of https://github.com/FOCONIS/ebean into FOCONIS-fix-limit-constraint-names
2018-03-07 17:13:56 +13:00
Rob Bygrave
2019bc7bf1
#1336 - Change DDL generation such that it does create index before alter table add foreign key
2018-03-07 02:19:10 +13:00
Roland Praml and Rob Bygrave
5801f7620d
FIX: add columnDefaultValue to more places ( #1327 )
2018-03-02 16:39:53 +13:00
Rob Bygrave
09786a7062
#1301 - No effective change - format lines
2018-03-02 13:30:40 +13:00
Roland Praml
fdafa776e1
Merge remote-tracking branch 'ebean/master' into fix-limit-constraint-names
...
# Conflicts:
# src/test/resources/dbmigration/migrationtest/db2/1.0__initial.sql
# src/test/resources/dbmigration/migrationtest/db2/1.1.sql
# src/test/resources/dbmigration/migrationtest/db2/1.3.sql
2018-03-02 01:03:36 +01:00
Roland Praml
392eb2744d
ADD: comment
2018-03-02 00:17:23 +01:00
Roland Praml and Rob Bygrave
b642b3c644
FIX: Splitcolumns must return an empty array if string was empty ( #1315 )
...
* Add test suite from rpraml
* FIX: Splitcolumns must return an empty array if string was empty
* Just the reference scripts
2018-03-02 12:16:29 +13:00
Roland Praml and Rob Bygrave
78628ffad0
NEW: DB-with-Master option ( #1311 )
2018-03-02 12:12:34 +13:00
Roland Praml
a4415b03ff
FIX: limit the constraint names
2018-03-02 00:08:52 +01:00
Roland Praml and Rob Bygrave
0c368ed7b3
FIX: extra-ddl can contribute to "drop-all" script, otherwise the drop all script is not appyable to h2:file ( #1301 )
2018-03-02 11:48:35 +13:00
Roland Praml and Rob Bygrave
3dfdd0e2e8
#1292 - Fix for non-native / number boolean types (MySql, SqlServer, Oracle, Sqlite, SqlAnywhere) removing "default 0" + Fix for DB2 add foreign key update clause
2018-02-27 11:58:10 +13:00
Roland Praml and Rob Bygrave
83cf768369
Append preconfigured database to dbMigration ( #1291 )
2018-02-27 11:09:44 +13:00
Rob Bygrave
cec65cc888
#1279 - Change ObjectFactory method to match, tidy format (no real change here)
2018-02-26 14:32:38 +13:00
Roland Praml and Rob Bygrave
da7bb834e7
DbMigration supports altering UniqueConstraints and foreign keys ( #1279 )
...
* NEW: Ebean reads version from pop.properties and prints it at start up
* DDL generation and migration can append a header and platformMigration is prepared to append epilog & prolog to scripts
* FIX: Set identity only, if it is not the platform default type
* Updated reference scripts
* ADD basic support for foreign key migration
* DbMigration detects alter foreign keys
* tests
2018-02-26 14:24:52 +13:00
Roland Praml and Rob Bygrave
91cb5a23fd
Fix dbmigration ( #1277 )
...
ENH: Support adding a '-- Generated by' comment to DDL including version and timestamp
2018-02-26 12:37:54 +13:00
Rob Bygrave
f8ea5619d0
#1268 - SQL Server fix for "for update" plus Sequences support plus refactor of sequences
2018-02-22 22:45:44 +13:00
Rob Bygrave
4d122ea05b
#1267 - DDL issue on @OneToMany @JoinTable ... extra unnecessary index created on fk column
2018-02-22 22:09:53 +13:00
Rob Bygrave
83384c6f0e
#323 - DDL Generation support for foreign key cascade options
...
Tidy up, no GLOBAL_DEFAULT.
2018-02-21 11:04:04 +13:00
Rob Bygrave
81d48d67a7
#123 - Mapping - Add support for OneToMany JoinTables
2018-02-20 14:40:21 +13:00
Rob Bygrave
40634412f5
#323 - DDL Generation support for foreign key cascade options
2018-02-19 22:24:37 +13:00
Rob Bygrave
842292ef6b
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
2018-02-14 22:59:57 +13:00
Rob Bygrave
bbef5a6bbb
#1243 - Add IDENTITY support for Oracle platform (since 12c Oracle supports auto generated identity)
2018-02-02 23:18:23 +13:00
Rob Bygrave
7e69f71b51
#1230 - Add DB Migration non strict mode - IllegalArgumentException: non-null column has no default value
2018-01-07 15:33:18 +13:00
Koen De Groote and Rob Bygrave
f1ebe7929b
Internal refactor / tidy - Suggestions from intellij code analysis. ( #1209 )
2017-11-14 18:19:38 +13:00
Rob Bygrave
2cf864954f
#1204 - Check presence of JAXB and javax @PostConstruct (which may not be present in minimal Java 9)
2017-11-07 20:08:10 +13:00
Roland Praml and Rob Bygrave
b2438ecd71
FIX: do not generate unique-constraint for PK as it is useless (and oracle does not accept this) ( #1160 )
2017-10-06 09:43:30 +13:00
rob bygrave
9f9ec8ef9f
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - move IdentityType handling into internal from DbIdentity
2017-10-04 20:49:04 +13:00
rob bygrave
62707caf64
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - move PlatformDdl into internal
2017-10-04 20:30:57 +13:00
rob bygrave
10faa1fae6
#1147 - Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create() - initial move
2017-10-04 19:36:27 +13:00