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
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
Michael Böckers
5278c010ba
added MySqlDbExpression.json
2020-02-21 12:58:18 +01:00
rob bygrave
ea490a5ac3
Collect the DB schemas in the model via MTable
2020-02-21 17:16:28 +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
rob bygrave
c0d752b445
#1941 - @History it seems does not work well when it got generated with ebean.allQuotedIdentifiers enabled
2020-02-20 16:51:07 +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
661230909c
ENH: Add query.usingDatabase(database) - add better test
2020-02-19 11:48:47 +13:00
rob bygrave
168dacffa7
Deprecate orderBy() migrate to order()
2020-02-18 23:27:43 +13:00
rob bygrave
171d1a19f4
#1937 - When add a new col with @DbComment in Entity,the DbMigration does not generate comment ddl
2020-02-17 14:19:19 +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
3e43d544fb
#1936 - ENH: Add saveAll(Object... beans) ... using varargs for DB and Database
2020-02-07 16:10:11 +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