rob bygrave
f97359502b
Refactor internals - DtoMeta DtoMappingRequest
...
Refactor move most of the code mapping DB columns to bean setters from DtoMeta to DtoMappingRequest
2020-05-27 22:04:03 +12:00
rob bygrave
ffaf00c064
Improve error message throw on DTO unmapped DB column
2020-05-27 21:39:16 +12:00
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
998b8cc192
#2011 - Change query.orderBy() to not be deprecated
2020-05-15 14:06:28 +12:00
rob bygrave
9c1d930fb8
#2012 - Change ExpressionList.orderBy(String) to return ExpressionList<T>
...
Plus #2011 remove @Deprecated for orderBy
2020-05-15 14:06:06 +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
8980a3b6fd
No functional change - tidy DbEncrypt, AbstractDbEncrypt
2020-05-12 16:34:08 +12:00
rob bygrave
72efc5d7d6
#2005 - Mark Ebean as deprecated - migrate to io.ebean.Database (EbeanServer -> Database)
2020-05-11 23:15:02 +12:00
rob bygrave
a0e44aedf3
Fix IllegalStateException to use correct dependency io.ebean:ebean-elastic in error message
2020-05-11 20:29:58 +12:00
rob bygrave
41102aca35
Add clearBatch() on BatchedPstmt construction
2020-05-08 23:32:24 +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
rob bygrave
90493ad57d
#1995 - Fix for DatabaseConfig.isLocalOnlyL2Cache() ... to set localL2Caching = true
...
This has the effect that the l2 cache notification occurs in the foreground when isLocalOnlyL2Cache is true (not background)
2020-04-23 13:11:20 +12:00
rob bygrave
d52a00a8fb
#1995 - ENH: Add DatabaseConfig.isLocalOnlyL2Cache() ... to support disabling l2 cache plugins
2020-04-21 23:00:13 +12:00
rob bygrave
85207086e6
#1995 - ENH: Add DatabaseConfig.isLocalOnlyL2Cache() ... to support disabling l2 cache plugins
2020-04-21 21:55:51 +12:00
rob bygrave
cdc5eefc69
EntityBeanIntercept.isOrphanDelete() - Additional refactor for #1988
2020-04-14 23:17:56 +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
c7e1964aae
#1991 - NPE in MCompoundUniqueConstraint.<init>(MCompoundUniqueConstraint.java:66)
2020-04-14 21:28:03 +12:00
rob bygrave
6d43883f77
#1990 - NPE with @Cache and setting naturalKey to null
2020-04-14 20:57:42 +12:00
rob bygrave
f06f99dfc3
Refactor remove unnecessary BeanDescriptorManager.setProfileIds() method
...
As it is no longer necessary (profileIds no longer used)
2020-04-12 17:13:54 +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)
18cde36b9d
FIX: cache not being cleared in persistence context on reorder with @OrderColumn
...
Signed-off-by: Jonas Pöhler (JPo) <jonas.poehler@foconis.de >
2020-04-08 16:05:09 +02: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
2e5becf48c
Refactor rename to MySqlDataTimeZone and OracleDataTimeZone
2020-04-08 14:57:58 +12: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)
3b4549a7ee
FIX: @OrderColumn not working when referencing the parent of a inheritance structure
2020-04-06 16:22:33 +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