Rob Bygrave
62cdfb3209
#1330 - Update ANTLR dependency to 4.7.1
2018-03-05 19:22:38 +13: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
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
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 and Rob Bygrave
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 and Rob Bygrave
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 and Rob Bygrave
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 and Rob Bygrave
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
Roland Praml and Rob Bygrave
2001539755
Sqlserver support ( #1053 )
...
* made some tests sqlserver ready (No effective code change in src/main)
* FIX enhance packages and let all testcases inherit from BaseTestCase, so that they can be launched directly from eclipse
* ADD sqldriver in pom and datasource
* FIX: DDL-generation for sqlserver - not yet all sqlserver tests passing
mvn verify -Ddatasource.default=mssql => Tests run: 1980, Failures: 22, Errors: 44, Skipped: 16
* BaseDdlHandlerTest checks against correct sqlserver-ddl now
2017-07-03 20:27:37 +12:00
rob bygrave
15be31fd5f
#1051 - Remove ServerConfig h2ProductionMode ... means for testing with h2 explicitly set ddlGenerate and ddlRun
2017-07-02 11:42:56 +12:00
rob bygrave
74dd97a55f
No effective change
2017-06-23 23:18:57 +12:00
rob bygrave
d0c1ae76f4
#955 - Migration "add column" DDL with check constraint is missing constraint name
2017-05-21 01:23:55 +12:00
rob bygrave
fe9500e6d0
#1011 - Create valid migration scripts for non-Postgres databases and @DbArray columns.
...
Merge branch 'test/dbarray-create-migration' of https://github.com/FOCONIS/ebean into FOCONIS-test/dbarray-create-migration
commit 3a8f32b173
Author: Michael Benz <michael.benz@foconis.de >
Date: Wed Apr 19 18:16:51 2017 +0200
adding dbmigration ddlgeneration test for Ebean @DbArray extension.
2017-05-20 23:40:02 +12:00
Rob Bygrave
3e419d3e3a
No effective change - test ebean.properties back to H2 for default
2016-12-20 21:31:02 +13:00
Rob Bygrave
fcc58d77e8
No effective change - update tests using Platform enum rather than name
2016-12-20 20:41:55 +13:00
Rob Bygrave
0eef69a277
#920 - Change logger package to io.ebean (e.g. for logging SQL instead of org.avaje.ebean.SQL use io.ebean.SQL)
2016-12-11 23:42:38 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00
Rob Bygrave
bebef48332
Update test ebean.properties
2016-12-03 22:03:55 +13:00
Rob Bygrave
f66ea12fbf
#912 - Refactor - move platform specfic code into subpackages
2016-12-03 15:39:24 +13:00
Rob Bygrave
14dedb7b9a
#910 - SQL Server update
2016-12-03 13:18:33 +13:00