rob bygrave
f6f9511d2a
#2014 - IllegalArgumentException: No rule for io.ebeaninternal.dbmigration.migration.RenameColumn
2020-05-27 21:00:42 +12:00
rob bygrave
5e94c26094
No effective change - update TestQueryInIdTypeConversion
2020-05-27 15:53:01 +12:00
rob bygrave
5aaed4e12b
#2016 - L2 Cache - missing puts with explicit bean cache + findByIds/keys + after transaction writes
2020-05-26 23:42:44 +12:00
rob bygrave
c29a57b5ec
No effective change - update TestBeanCache Ebean -> DB
2020-05-26 23:19:23 +12:00
rob bygrave
d6d7537a9c
#2012 - Change ExpressionList.orderBy(String) to return ExpressionList<T>
2020-05-15 14:05:15 +12:00
rob bygrave
21a5efa9b9
Tidy tests - tidy up TestCsvReader and TestCsvReaderWithCallback
2020-05-12 21:28:31 +12:00
rob bygrave
55a2cb12bb
#2007 - Encrypted fields unable to be mapped when using DtoQuery
2020-05-12 21:11:28 +12:00
rob bygrave
293700acc0
#2007 - Encrypted fields unable to be mapped when using DtoQuery
2020-05-12 20:25:56 +12:00
rob bygrave
548cea432e
Fix test UpdateQueryTest for PG
2020-05-08 23:22:23 +12:00
rob bygrave
592cb37693
Reset test default to H2
2020-05-08 23:01:59 +12:00
rob bygrave
f2178bf0a6
#2003 - Bump ebean-datasource to 4.9.2 with optional driver
2020-05-04 12:41:14 +12:00
rob bygrave
5cae425b09
#2002 - Support maxRows with delete query
2020-05-04 12:28:52 +12:00
Rob Bygrave and GitHub
3310d2186d
Remove autoCommitMode and explicitTransactionBeginMode ( #1993 )
...
These are legacy options that we don't want anyone using going forward.
2020-04-30 23:36:24 +12:00
Rob Bygrave and GitHub
02bdace144
Change OraclePlatform to default to use Identity (rather than sequence) ( #1976 )
...
* Change OraclePlatform to default to use Identity
- Keep Oracle11Platform to default to Sequence
- Refactor rename Oracle10Ddl to OracleDdl
* Change OraclePlatform to default to use Identity
- DDL review changes in src/test
* Bump ebean-test-docker for StartOracle
2020-04-30 23:35:20 +12:00
rob bygrave
6f194ce95d
#2001 - Add convenient alternative to set read-only url (on the main DataSourceConfig)
2020-04-30 23:19:08 +12:00
rob bygrave
dbe473d5a1
#1996 - Fix for MySQLSyntaxErrorException when update in bulk using idIn().
2020-04-30 21:33:02 +12:00
rob bygrave
ed0e9e7006
#1999 - Additionally support empty string for read only url with config.isAutoReadOnlyDataSource()
2020-04-29 22:15:15 +12:00
rob bygrave
2a03198393
#1999 - Additionally support "none" for read only url
...
"none" can then be used as a special literal value in configuration for "no read-only jdbc url"
2020-04-29 22:07:27 +12:00
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
6dea4f0890
#1996 - MySQLSyntaxErrorException when update in bulk.
2020-04-28 21:24:25 +12:00
rob bygrave
4a4ec42cdc
#1999 - Refactor read-only DataSource initialisation
2020-04-28 21:10:43 +12:00
rob bygrave
92ea8e3738
#1998 - Refactor internals rename createQueryTransaction() to createReadOnlyTransaction()
2020-04-25 17:38:54 +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
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