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
74e0a16531
#1351 - ENH: Add named DtoQuery
...
Merge branch 'feature/namedDtoQuery' of https://github.com/hexagonframework/ebean into hexagonframework-feature/namedDtoQuery
2018-03-26 20:45:39 +13:00
Rob Bygrave
8601f51a6c
#1351 - ENH: Add named DtoQuery
...
Merge branch 'feature/namedDtoQuery' of https://github.com/hexagonframework/ebean into hexagonframework-feature/namedDtoQuery
2018-03-26 20:45:22 +13:00
Rob Bygrave
6534feb5da
#1350 - ENH: Add mappingsLocation config to search xml mapping files.
...
Minor adjustments - read "mappingLocations" only etc.
2018-03-26 16:55:25 +13:00
Yuan Xuegui and Rob Bygrave
6cf5e3386d
ENH: Add mappingsLocation config to search xml mapping files. ( #1350 )
...
ENH: Add mappingsLocation config and search xml mapping files feature.
2018-03-26 16:37:25 +13:00
yuanxuegui
5575273c96
ENH: Add named DtoQuery, such that we can define native SQL queries in ebean mapping xml for DtoQuery.
2018-03-19 18:04:49 +08:00
yuanxuegui
9d336cb20b
ENH: Add mappingsLocation config to search xml mapping files.
...
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
remove unused import.
ENH: Add mappingsLocation config and search xml mapping files feature.
2018-03-17 17:27:51 +08:00
Rob Bygrave
85bfe3d03e
#1345 - Refactor io.ebean.meta.MetaInfoManager API (query execution metrics). Breaking change for people collecting query execution metrics.
2018-03-10 02:51:51 +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
4f327c2751
No effective change - default h2 platform for testing
2018-03-08 20:47:48 +13:00
Rob Bygrave
7252e2d7d9
#1318 - ENH: native UUID-support for SqlServer
...
Merge branch 'native-uuid-sqlserver' of https://github.com/FOCONIS/ebean into FOCONIS-native-uuid-sqlserver
# Conflicts:
# src/main/java/io/ebean/config/dbplatform/sqlserver/SqlServerBasePlatform.java
2018-03-08 19:34:09 +13:00
Rob Bygrave
0cc87009d0
#1340 - (test only change) Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Update DbMigrationGenerateTest ... for SqlServer17 platform
2018-03-08 18:37:36 +13:00
Rob Bygrave
ef58954af5
Test only changes - related to #1336 - Change DDL generation such that it does create index before alter table add foreign key
2018-03-08 18:31:12 +13:00
Rob Bygrave
824f5e468e
#1340 - (test only change) Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Reset Offline platform in DbMigrationSqlServerTest
2018-03-08 18:18:13 +13:00
Rob Bygrave
5a3550e603
#1340 - Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Unrelated - update dbmigration ddl for create index / add fk change in order (db2)
2018-03-08 17:43:25 +13:00
Rob Bygrave
f840cfc2ae
#1340 - Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
test changes
2018-03-08 17:40:11 +13:00
Rob Bygrave
8e0d2f8749
#1340 - Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
test - dbmigration ddl
2018-03-08 17:39:10 +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
Rob Bygrave
62cdfb3209
#1330 - Update ANTLR dependency to 4.7.1
2018-03-05 19:22:38 +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 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
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
Rob Bygrave
0cba0664f8
#1281 - Test change only - default back from sql server to h2
2018-02-26 15:06:17 +13:00
Rob Bygrave
a3e5c3a786
#1281 - Test change only - Update DbMigrationTest for SQL Server using SEQUENCE based Identity
2018-02-26 15:04:57 +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
8e9843ab8a
#1246 - Support use of application.yml and application-test.yml ... (as alternative to ebean.properties, test-ebean.properties)
2018-02-26 08:35:47 +13:00
Rob Bygrave
9aee7c892d
Test only - copy/add multi-tenant partition tests
2018-02-23 10:14:27 +13:00
Rob Bygrave
29bb9d3b48
#1268 - SQL Server fix for "for update" plus Sequences support plus refactor of sequences
2018-02-22 22:46:17 +13:00
Roland Praml and Rob Bygrave
b8aa822a30
[utf8mb4-support] limited the size of all indexed string columns, as max key length on mysql/mariadb is 767 bytes (which are <= 191 chars on utf8mb4) ( #1264 )
2018-02-19 16:15:28 +13:00
Rob Bygrave
5237e8ba66
#1261 - ENH: Support use of getGeneratedKeys with SqlUpdate
2018-02-16 09:45:49 +13:00
Rob Bygrave
6474f306b5
#1255 - Regression on raw LIKE expression with slashes on Postgres
...
Related update for Sqlite
2018-02-10 00:57:19 +13:00
Rob Bygrave
0f7158ea18
Testing - modify .travis to run mysql as service
2018-02-10 00:34:34 +13:00
Rob Bygrave
3fdb76d18f
Testing - modify .travis to run mysql as service
2018-02-10 00:31:39 +13:00
Rob Bygrave
b1027a2f25
Testing - modify .travis to run mysql as docker container
2018-02-10 00:18:33 +13:00
Rob Bygrave
cebe375856
No effective change - initial docker testing setup for oracle and sqlserver
2018-02-09 21:31:40 +13:00
Rob Bygrave
7fe3e657d7
No effective change - put default test db back to default to h2
2018-02-07 16:49:49 +13:00
Rob Bygrave
7a816ae2da
#1251 - Delete cascade with 11+ and Postgres throws exception
...
Failing test
2018-02-07 16:40:12 +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
2d929837c4
No effective change - Update testing for profile location enhancement ( #1227 )
2018-01-24 19:11:59 +13:00
Rob Bygrave
51d2e4c600
ENH: Add ProfileLocation - Part 2 - performance metrics for transactions with label and profileLocation
2018-01-22 14:54:27 +13:00
Rob Bygrave
07cdf64ece
#1238 - Refactor MetaInfoManager - collect query plan stats, fix collection of stats on UpdateQuery
2018-01-19 01:07:37 +13:00
Rob Bygrave
932986a6b5
#1232 - Performance: Add support for a second read-only DataSource (for implicit query-only transactions)
2018-01-09 16:35:22 +13:00
Rob Bygrave
2b94487573
#1202 - Automatically remove old query plans from Ebean's internal query plan cache
2017-11-06 22:59:42 +13:00
Rob Bygrave
dce124cabd
#1187 - Fix connection leak regression introduced in 11.2.3 for findEach() with invalid SQL
2017-10-31 10:50:20 +13:00
rob bygrave
a355f66561
#1176 - Allow script in extra-ddl.xml ... to not have trailing semi-colon
2017-10-19 01:11:14 +13:00