Rob Bygrave and GitHub
de22b7bf27
Refactor SQL generation - remove excess whitespace (double spaces before where, join and order by) ( #2065 )
2020-10-07 21:28:33 +13:00
rob bygrave
de734665cd
#2061 - Fix for L2 bean cache loaded using lazy loading on mutated partially loaded bean
...
The fix is when the property is dirty (mutated) put the original value into the cache entry.
2020-09-24 22:14:48 +12:00
rob bygrave
3531db0e53
#2060 - Bump ANTLR to 4.8-1 (from 4.7.2) and add support for "leOrNull" and "geOrNull" expressions from #2059
2020-09-17 23:01:09 +12:00
rob bygrave
18d5d01d48
#2049 - Tidy after ServerConfig -> DatabaseConfig
2020-09-14 20:35:20 +12:00
Rob Bygrave and GitHub
6839f869f5
#2049 - Migrate to DatabaseConfig from ServerConfig ( #2057 )
2020-09-14 18:30:51 +12:00
rob bygrave
6772b6e87e
#2055 - Refactor internals - Extract DbContext from Ebean and hold Database rather than EbeanServer
2020-09-08 09:29:06 +12:00
rob bygrave
da29330a2a
#2053 - Refactor tidy StringHelper.replace replacing with just String.replace where possible
2020-09-04 18:04:10 +12:00
rob bygrave
61ee67ee41
#2053 - Refactor tidy StringHelper.replaceString
2020-09-04 17:36:10 +12:00
rob bygrave
3117acd2d7
#2053 - Refactor tidy StringHelper.delimitedToMap
2020-09-04 13:37:25 +12:00
rob bygrave
4cee41d8d6
#2053 - Refactor tidy StringHelper - replace replaceStringMulti() with removeNewLines()
2020-09-04 13:21:13 +12:00
rob bygrave
4ce84f694f
#2053 - Refactor tidy internals - Clean up StringHelper
2020-09-04 13:04:14 +12:00
rob bygrave
8eb248b966
#2052 - Refactor tidy internals - Use String.replace() rather than literal pattern replaceAll()
2020-09-04 12:53:43 +12:00
rob bygrave
f611068a03
#2050 - Refactor internals - remove dependency on java.beans
2020-09-03 14:45:27 +12:00
rob bygrave
b2ce9db8a8
#2048 - IllegalStateException: No query cache enabled on __. Need explicit @Cache(enableQueryCache=true) ... when ebean.disableL2Cache=true l2
2020-08-26 11:33:23 +12:00
Rob Bygrave and GitHub
002014f930
For #2038 - updated from 12.3.6 to 12.3.7 - NPE BeanDescriptor.findPropertyFromPath(BeanDescriptor.java:1965) ( #2047 )
...
* #2038 - lazy loading ToMany with path
* #2038 - Failing test for NPE BeanDescriptor.findPropertyFromPath(BeanDescriptor.java:1965)
* #2038 Refactor internals DbReadContext use BeanPropertyAssocMany
2020-08-24 18:40:36 +12:00
rob bygrave
7317847aa7
#2037 - Allow PostCommit transaction callback to recursively add another PostCommit callback
2020-07-24 13:16:18 +12:00
rob bygrave
444644f759
#2037 - Allow PostCommit transaction callback to recursively add another PostCommit callback
2020-07-24 13:16:00 +12:00
rob bygrave
b4330679b8
#2029 Opps, fix tests
2020-06-30 10:59:03 +12:00
rob bygrave
59447ad261
#2029 - ENH: Add database.getPlatform(); ... to obtain the underlying database platform being used
2020-06-29 21:56:18 +12:00
rob bygrave
70ba658442
#2026 - Postgres DDL - modify type generates wrong alter sql. Needs explicit cast / using clause.
2020-06-29 12:12:10 +12:00
rob bygrave
70b730657f
#2028 - Refactor internals of smart persistence context to reference "parent" rather than copy beans (adjustment of #2021 )
2020-06-29 08:48:24 +12:00
rob bygrave
bf3cb7e2e2
No effective change - tidy test BeanDescriptor_registerTest
2020-06-26 15:49:35 +12:00
rob bygrave
967ca0c9f3
No effective change - add some more tests for EntityBeanIntercept
2020-06-23 17:09:15 +12:00
Rob Bygrave and GitHub
32ce1f1d59
#2004 - MariaDb specific platform with @History support (initial) ( #2023 )
...
#2004 - MariaDb specific platform with @History support (initial)
2020-06-19 23:20:07 +12:00
rob bygrave
9b70900267
#2021 - Use smarter persistence context for findEach/iterate/stream queries - improve performance of un-tuned findEach/iterate/stream queries that invoke lazy loading
2020-06-17 21:50:11 +12:00
rob bygrave
ebd6c535ab
No effective change - tidy TestRawSqlParsing
2020-06-12 15:04:36 +12:00
rob bygrave
5c771a7219
Add tests for RawSql with ${where} and ${andWhere} placeholders
2020-06-12 15:03:05 +12:00
rob bygrave
cbdf5609b2
#2015 - Dto instance id fields are not populated when queried using DtoQuery (and no select clause is specified)
2020-05-27 22:05:39 +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
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 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
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
4094339407
#1984 - ENH: Add DB.script() ... to access ScriptRunner from DB
2020-04-08 14:13:57 +12: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
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
2ac19bea1a
Support for @Identity - with start, increment, cache
2020-03-04 16:59:42 +13:00
rob bygrave
f080f16e63
#1962 - Refactor simplify Postgres platforms to POSTGRES and POSTGRES9
2020-03-01 12:53:34 +13:00
Rob Bygrave and GitHub
2236e4bfd7
Refactor PlatformDdl separate call to asIdentityColumn() ( #1961 )
2020-03-01 10:42:41 +13:00
rob bygrave
0891c067d5
#1953 - Do we need SqlServer2005Platform and SqlServer2005SqlLimiter?
2020-02-22 11:48:16 +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
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
b24f093bbb
Remove io.ebean.meta.MetricType as it is unnecessary ( #1923 )
2020-02-22 09:17:14 +13:00