rob bygrave
6f1472abe0
#2000 - Tests only - bump sql server to 2019-GA-ubuntu-16.04
2020-04-28 22:13:57 +12:00
rob bygrave
c349832d35
#1997 - Modify @Transactional(readOnly=true) to use the read only DataSource
2020-04-25 17:33:33 +12:00
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
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
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
48abc73e50
#1973 - L2Cache, Inheritance and Lazy-Loading loads the parent Class not the Child
2020-03-10 22:52:13 +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
bfc2b57df5
Support for @Identity - use identity options with sequence
2020-03-04 21:29:56 +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
ddf3c753d6
Ability to use order(<orderByClause>) on filterMany() (related to #1943 ) #1964
2020-03-03 22:31:01 +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
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 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
Rob Bygrave and GitHub
444c868124
Refactor to use avaje config ( #1894 )
...
* Move to use Avaje Config for properties loading
2020-02-22 09:11:37 +13:00
rob bygrave
e4390ed8a2
#1952 - Entity bean with @Id and ONLY @WhenCreated treated as reference bean - not inserted
2020-02-21 00:14:23 +13:00
Sebastian Mrozek
b1704ff5dc
Test usingDatabase with a non default db
...
Move the test to separate class with better name.
2020-02-20 22:13:38 +13:00
Rob Bygrave and GitHub
ef5ea59559
Merge pull request #1948 from ebean-orm/feature/queryUsingDatabase
...
ENH: Add query.usingDatabase(database)
2020-02-20 16:42:25 +13:00
rob bygrave
de42655bbd
Refactor tests using assertSql() helper method
...
This helper method trims column alias from the sql (for Oracle)
2020-02-20 15:08:43 +13:00
rob bygrave
e9325a81f7
ENH: Add query.usingDatabase(database)
2020-02-19 11:41:06 +13:00
rob bygrave
168dacffa7
Deprecate orderBy() migrate to order()
2020-02-18 23:27:43 +13:00
rob bygrave
e0d322d80a
#1943 - Return ExpressionList<T> from setMaxRows() setFirstRow() to allow fluid style
...
This is to allow fluid style use of setMaxRows() setFirstRow() with filterMany query
2020-02-17 17:19:27 +13:00
rob bygrave
1dd0f3cbf8
#1943 - Use limit & offset via setFirstRow() and setMaxRows() on filterMany()
2020-02-17 17:05:01 +13:00
rob bygrave
8feb100ac6
#1938 - API consistency add setParameters(varargs) & setParameter() - migrate from setNextParameter() and setParams()
2020-02-15 02:01:02 +13:00
rob bygrave
3707d611b1
No effective change - EBasicVer extend Model
2020-02-07 22:07:38 +13:00
rob bygrave
427152a894
Add test for IllegalStateException("Transaction is Inactive")
2020-02-07 20:15:59 +13:00
rob bygrave
62b1da1be2
#1935 - ENH: Add DB.createTransaction()
2020-02-07 15:52:26 +13:00
rob bygrave
8b4eae2f91
#1934 - ENH: Add methods to Model that take explicit transaction - save(transaction), delete(transaction) ...
2020-02-07 13:00:59 +13:00
rob bygrave
4ed3a18b9d
#1933 - ENH: Add DtoQuery.usingTransaction(Transaction) ... dto query with supplied transaction
2020-02-07 12:42:10 +13:00
Rob Bygrave and GitHub
3c9d7e3127
Merge pull request #1925 from ebean-orm/feature/refatorTxnProfile
...
#1924 - Refactor for Transaction profiling - base on ProfileLocation / remove profileId
2020-02-04 22:38:44 +13:00
Roland Praml and rob bygrave
f161a38334
FIX: Regression of #1775 - set date for other platfroms broken, when ebean.dataTimeZone is set to GMT
2020-02-01 15:59:18 +13:00
rob bygrave
e3dba6bfe1
Failing test for idIn() empty
2020-02-01 13:18:42 +13:00
rob bygrave
9eab67d82e
#1924 - Refactor for Transaction profiling - base on ProfileLocation / remove profileId
2020-02-01 11:31:43 +13:00