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
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
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
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
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
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
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
rob bygrave
00fdb632d7
#1173 - Ebean server should read ebean.mf entity-packages to locate entity beans
2017-10-18 23:58:22 +13:00
rob bygrave
3471f6d206
Refactor EbeanServerFactory internals - use SpiContainerShutdown interface for container shutdown mechanism
2017-10-05 00:57:40 +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
rob bygrave
368d22baa6
#1145 - Refactor @ChangeLog based on JSON documents for 'new values' and 'old values'
2017-10-03 01:31:37 +13:00
Roland Praml
9a7646195c
Featur/dbmigration 3 ( #1118 )
...
* ADD: more test classes for Softdelete and History
* update reference models after adding test classes
* DbMigration:Improved History generation for sqlserver
* FIX: When DB supports Sql2011 platform, we must not alter the history-table (as this is handled by DB itself)
* DbMigration: When dropping a table, drop the sequence also.
* DbMigration: dropColumn is handled by platformDdl now, as SqlServerDdl needs to delete dependent objects (default constraints...) first
* FIX: DbMigration is not executed on history table
* DbMigration: can drop comment now.
* No effective code change: completed ObjectFactory / fixed imports
* FIX: drop table comment
* Committed the reference models
2017-09-10 15:26:01 +12:00
Roland Praml
dd8fff0277
Feature/ddl migration ( #1111 )
...
* REFACTOR: use functions from ddl-help
* NEW: Default values are written to DDL
* fix testcase for sqlserver as default constraints will get names in future
* Reading DbMigration
* ADD: DbmIgrationGenerateTest
* Tables must be created first
* Sanity checks and some getters
* DdlMigration gets applied now
* ADD: Testcase and reference migration scripts
* no effective code changes: add comments
2017-09-08 21:47:33 +12:00
Roland Praml
3f5a162a4e
Fix/connection to different platforms ( #1096 )
...
* ADD: Profile for oracle and db2 to pom file. Downgraded mysql driver
* FIX: connection string for several platforms
* ADD: Documentation
2017-08-30 20:00:58 +12:00
Roland Praml
f471961f06
FIX: extra-ddl modified to be compatible with different platfoms ( #1094 )
2017-08-30 17:51:41 +12:00
rob bygrave
a2cb468222
No effective change - add test resource ebean.mf to hint to enhancement agent packages to enhance
2017-07-11 21:11:54 +12:00
rob bygrave
95aed6af54
#1060 - findSingleAttributeList doesn't store result in L2 query cache
2017-07-06 21:35:20 +12:00