Jonas Pöhler and GitHub
c9588586c9
Removing elements with @OrderColumn with a tree depth > 1 doesn't work ( #1988 )
...
* ADD: failing testcase for orderColumn when tree depth > 1
* FIX: no update with @OrderColumn on treeDepth > 1 and avoid needless updates
* ADD: failing testcase for removing models in oneToMany relation with @OrderColumn
Signed-off-by: Jonas Pöhler (JPo) <jonas.poehler@foconis.de >
* ADD: failing test for faulty element reordering in a entityBean tree with version
Signed-off-by: Jonas Pöhler (JPo) <jonas.poehler@foconis.de >
* FIX: incorrect behaviour when reordering or removing elements from collection with @OrderColumn.
Signed-off-by: Jonas Pöhler (JPo) <jonas.poehler@foconis.de >
2020-04-14 23:07:00 +12:00
rob bygrave
6d43883f77
#1990 - NPE with @Cache and setting naturalKey to null
2020-04-14 20:57:42 +12:00
rob bygrave
41e600be45
Merge branch 'bugfix/order_column_l1_cache' of https://github.com/FOCONIS/ebean into FOCONIS-bugfix/order_column_l1_cache
2020-04-12 16:37:00 +12:00
Rob Bygrave and GitHub
62a81c531a
Merge pull request #1986 from FOCONIS/bugfix/order_column_reference_abstract
...
@OrderColumn is ignored on relations referencing a abstract inheritance-model
2020-04-12 16:32:15 +12:00
Rob Bygrave and GitHub
2cb1a626c4
Merge pull request #1985 from FOCONIS/bugfix/order_column_tree_depth
...
Update is missing for relations with @OrderColumn from a tree depth > 1
2020-04-12 16:19:01 +12:00
Jonas Pöhler (JPo)
e05b6b78ad
ADD: failing testcase for not cleared beancache in persistence context on reorder with @OrderColumn
...
Signed-off-by: Jonas Pöhler (JPo) <jonas.poehler@foconis.de >
2020-04-08 16:04:49 +02:00
rob bygrave
4094339407
#1984 - ENH: Add DB.script() ... to access ScriptRunner from DB
2020-04-08 14:13:57 +12:00
Jonas Pöhler (JPo)
f194fdb132
ADD: failing testcase for @OrderColumn working when referencing the parent of a inheritance structure
2020-04-06 16:08:21 +02:00
Jonas Pöhler (JPo)
2d274c46fa
FIX: no update with @OrderColumn on treeDepth > 1 and avoid needless updates
2020-04-06 15:34:43 +02:00
Jonas Pöhler (JPo)
b61e9af750
ADD: failing testcase for orderColumn when tree depth > 1
2020-04-06 15:14:23 +02:00
Rob Bygrave and GitHub
9b501b3dc8
Merge pull request #1979 from FOCONIS/bugfix/order_column_on_inheritance_model
...
@OrderColumn does not work on inheritance models
2020-03-23 22:28:57 +13:00
Jonas Pöhler and GitHub
c2fb23a25c
"insert into table default values" is invalid MySQL syntax ( #1978 )
...
* ADD: failing testcase for "insert into table default values;" is invalid MySql syntax
* FIX: "insert into table default values;" is invalid MySql syntax
2020-03-23 22:09:28 +13:00
Jonas Pöhler (JPo)
6a3a7eafea
ADD: failing testcase for @OrderColumn on model with inheritance
2020-03-20 10:20:52 +01:00
rob bygrave
f7359aacd7
No effective change - update tests for oracle ddl
2020-03-17 22:25:52 +13:00
rob bygrave
d77fb9265b
No effective change - update oracle ddl review
2020-03-17 22:25:04 +13:00
rob bygrave
f0c0b7ebcc
#1974 - Turn on by default loadModuleInfo - aka auto register entity beans using query bean generated code
2020-03-12 23:45:35 +13:00
rob bygrave
48abc73e50
#1973 - L2Cache, Inheritance and Lazy-Loading loads the parent Class not the Child
2020-03-10 22:52:13 +13:00
rob bygrave
91a327a5e7
#1972 - Change BigDecimal to map by default DB type DECIMAL(16,3) rather than DECIMAL(38)
2020-03-09 17:05:08 +13:00
Rob Bygrave and GitHub
a861e8bdcc
Remove reading mapping annotations from "Getters" with associated refactoring for performance ( #1971 )
...
* #1970 - Change test code only moving mapping annotations to fields
First step in remove support for mapping annotations on "Getters" (so field only target for mapping annotations)
* #1970 - Remove reading mapping annotations from "Getters"
* #1970 - Refactor to use simple annotation lookup where possible
* #1970 - Remove GenerationType.TABLE and SequenceGenerator from type/class
* #1970 - Refactor meta annotation reading
* #1970 - Read @Aggregation as a meta annotation
2020-03-09 16:09:41 +13:00
rob bygrave
524e3e31f0
Refactor rename Transaction setGetGeneratedKeys(), setFlushOnMixed() setFlushOnQuery() ... (remove the "batch" part)
2020-03-05 01:10:41 +13:00
rob bygrave
0ce39c73f1
Test only update postgres DDL review
2020-03-05 00:21:36 +13:00
rob bygrave
82d6294dcb
Test only update h2 DDL review
2020-03-05 00:13:41 +13:00
rob bygrave
b9d5d35850
Set testing default back to H2
2020-03-04 22:55:51 +13:00
rob bygrave
bfc2b57df5
Support for @Identity - use identity options with sequence
2020-03-04 21:29:56 +13:00
rob bygrave
a5880fca97
Support for @Identity - update sql server ddl review
2020-03-04 21:23:50 +13:00
rob bygrave
8685f2056a
Support for @Identity - update ddl review
2020-03-04 17:18:01 +13:00
rob bygrave
2ac19bea1a
Support for @Identity - with start, increment, cache
2020-03-04 16:59:42 +13:00
rob bygrave
9410f82f5a
Support for @Identity - update default sequence increment
2020-03-03 22:36:59 +13:00
rob bygrave
21382a52ed
Support for @Identity - split IdentityMode and DeployIdentityMode
2020-03-03 22:36:27 +13:00
rob bygrave
ddf3c753d6
Ability to use order(<orderByClause>) on filterMany() (related to #1943 ) #1964
2020-03-03 22:31:01 +13:00
rob bygrave
4767aff046
Test only update sql server DDL review
2020-03-03 22:03:24 +13:00
rob bygrave
75846edd97
Test only update H2 DDL review
2020-03-03 21:20:19 +13:00
rob bygrave
f7c6745de1
Ci Testing - remove test/resources/dbmigration/migrationtest/postgres9
2020-03-01 13:09:37 +13:00
rob bygrave
f080f16e63
#1962 - Refactor simplify Postgres platforms to POSTGRES and POSTGRES9
2020-03-01 12:53:34 +13:00
rob bygrave
9135f87253
CI Testing - ParentQueryTest cascade on parent.data
2020-03-01 12:42:03 +13:00
rob bygrave
90ccf2d8b4
CI Testing - ParentQueryTest cascade on parent.data
2020-03-01 12:29:54 +13:00
rob bygrave
11409f8c09
CI Testing - ParentQueryTest cascade on parent.data
2020-03-01 12:23:16 +13:00
rob bygrave
fb472a0304
CI Testing - ParentQueryTest truncate
2020-03-01 12:12:01 +13:00
Rob Bygrave and GitHub
2236e4bfd7
Refactor PlatformDdl separate call to asIdentityColumn() ( #1961 )
2020-03-01 10:42:41 +13:00
rob bygrave
891166507d
Test only - restore postgres9 and postgres10 migration resources for CI postgres
2020-02-22 13:36:33 +13:00
rob bygrave
bce97b1063
Test only - add dummy files for pg9 and pg10 DbMigrationTest for running on CI (with old postgres)
2020-02-22 12:54:16 +13:00
rob bygrave
009b400ed3
Test only - delete test/resources/dbmigration/migrationtest/postgres10 and postgres9
2020-02-22 12:45:07 +13:00
rob bygrave
b6ee6ade8c
Test only - update ddl review for postgres
2020-02-22 12:44:00 +13:00
rob bygrave
0891c067d5
#1953 - Do we need SqlServer2005Platform and SqlServer2005SqlLimiter?
2020-02-22 11:48:16 +13:00
rob bygrave
3878b02cff
#1956 - Add SqlQuery - mapTo( RowMapper) ... to deprecate findOne(RowMapper)
2020-02-22 10:50:23 +13:00
rob bygrave
92995b807e
#1955 - mapToScalar - Add SqlQuery.mapToScalar( <class> ).findOne() / findList() ... to deprecate findSingleAttribute()
2020-02-22 10:09:44 +13:00
Rob Bygrave and GitHub
907d36123d
OraclePlatform update (ANSI row limiting with OFFSET), Oracle11Platform for old behaviour ( #1951 )
...
* #1947 - Oracle change to use concat operator rather than function
* #1947 - setMaxRows(1).findIds() under Oracle returns wrong result
* #1950 - Change OraclePlatform to use ANSI row limiting - OFFSET and NEXT ROWS, old platform as Oracle11Platform
* Revert test default to H2
* #1947 - Oracle & Oracle11 platform
2020-02-22 09:28:34 +13:00
Rob Bygrave and GitHub
2db95f909d
Merge pull request #1944 from ebean-orm/feature/1943
...
#1943 - Use limit & offset via setFirstRow() and setMaxRows() on filterMany()
2020-02-22 09:26:03 +13:00
rob bygrave
5213e8b653
Fix test merge for StartPostgres9 - using int for port
2020-02-22 09:24:58 +13:00
Rob Bygrave and GitHub
2314fd267f
Split Postgres platform into Postgres10 & Postgres9 (DDL - generated by default as identity) ( #1921 )
...
* Split Postgres platform into Postgres10 & Postgres9
- Use "generated by default as identity" for Postgres10 identity columns
* Add postgres9 migrationtest resources
* Set default back to h2
* Add postgres10 migration test resources
2020-02-22 09:18:05 +13:00