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
4a4ec42cdc
#1999 - Refactor read-only DataSource initialisation
2020-04-28 21:10:43 +12: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
Michael Böckers
5278c010ba
added MySqlDbExpression.json
2020-02-21 12:58:18 +01: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 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
9eab67d82e
#1924 - Refactor for Transaction profiling - base on ProfileLocation / remove profileId
2020-02-01 11:31:43 +13:00
rob bygrave
2bb52a9581
#1922 - Performance - Too pessimistic synchronized block for lazy loading on reference bean or l2 cache bean
2020-01-30 18:48:39 +13:00
rob bygrave
a894924e96
#1920 Support @Index concurrently and definition
2020-01-29 20:22:32 +13:00
rob bygrave
1fcec429b0
#1893 - @DbArray with @NotNull ... should persist empty db array rather than fail NOT NULL constraint
2019-12-17 20:33:03 +13:00
rob bygrave
c6062fe93e
#1893 - @DbArray with @NotNull ... should persist empty db array rather than fail NOT NULL constraint
2019-12-17 20:27:53 +13:00
rob bygrave
502b20be67
#1891 - Deprecate createSqlQuery() ... migrate to sqlQuery()
2019-12-13 13:58:14 +13:00
rob bygrave
937df1395c
#1882 - ENH: Add JsonContext.toJsonPretty() ... for pretty JSON output of beans and lists of beans
2019-12-04 22:55:52 +13:00
rob bygrave
74929472d9
#1879 - For metrics reporting for timed metrics with location by default only report on initial collection
2019-12-03 23:53:13 +13:00
rob bygrave
e093675444
#1875 - Refactor simplify MetaTimedMetric removing unrequired getStartTime() and getBeanCount()
2019-11-29 23:42:00 +13:00
rob bygrave
27a4e8951d
#1870 - Whether DtoMeta.findproperty needs to add is prefix
2019-11-29 20:54:28 +13:00
Rob Bygrave and GitHub
88839f7613
Refactor rename method ProfileLocation.shortDescription() to location() ( #1859 )
2019-11-20 20:01:45 +13:00
rob bygrave
17ff04e2b9
#1865 - ENH: Add metric collection for ORM insert update and delete
2019-11-19 20:27:04 +13:00
rob bygrave
7d77df58c5
#1780 - Add tests for this RawSql case
2019-11-06 23:30:21 +13:00
rob bygrave
1c6c812d4d
Update tests change AssertJ StrictAssertions to Assertions
2019-10-06 16:34:44 +13:00
rob bygrave
9b5ab542d7
#1827 - @UniqueConstraint columnNames should be respecting ebean.allQuotedIdentifiers
2019-10-05 22:37:06 +13:00
rob bygrave
be66872249
#1800 Adjust to allow for null schema and table names
2019-08-25 11:32:08 +12:00
rob bygrave
85a0354d42
#1800 No effective change, test only, static imports and organise imports
2019-08-25 11:19:07 +12:00
rob bygrave
0b8613fd4c
#1800 - Additional test exercising RawSqlBuilder.sqlRow(resultSet, ...);
2019-08-25 11:16:07 +12:00
Manuel Danisch and Rob Bygrave
e734c0010c
If the map already contains the column name, add schema and table names before the key to make it unique again ( #1800 )
2019-08-25 11:09:32 +12:00
rob bygrave
9155716752
#1795 - Refactor bind padding for Id IN expressions (based on internal multiValueSupport and simple id)
2019-08-18 16:33:36 +12:00
rob bygrave
464ed4322e
#1794 - Also support "inRange" camelcase version of "inrange" in EQL
2019-08-15 23:58:58 +12:00
rob bygrave
c3f556f0dc
#1794 - Extend EQL to support inOrEmpty, eqOrNull, gtOrNull, ltOrNull
2019-08-15 23:40:19 +12:00
rob bygrave
c530883e5e
#1793 - ENH: Add filterMany() that takes expressions ... as a simpler option
2019-08-15 22:05:46 +12:00
rob bygrave
06542b031e
Initial refactor to extract EqlWhereListener
2019-08-15 20:21:01 +12:00
rob bygrave
c640524bfc
#1788 - ENH: Add support for NuoDB database platform
2019-08-11 16:24:37 +12:00
rob bygrave
24b08663af
#1737 - PersistenceException while using aggregate query on related entity
...
Fix excluding the ability to additionally join (off the min(manyToOne))
2019-06-28 20:16:05 +12:00
rob bygrave
b7d5aa344f
Fix test only - add missing assert on NoopExpressionTest
2019-06-13 00:11:34 +12:00
rob bygrave
7e768623e4
#1730 - Fix for wrong JDBC batch sorting / ordering
...
This is a bit of a refactor that simplifies the ordering of
batch execution (BatchedBeanHolder ordering). In short we
batch by bean type and depth (rather than just type).
This means that there are some cases we are not optimal
(where we could batch by bean type in different depths)
but that is expected to be rare and problematic for
hierarchies of the same type.
2019-06-12 23:41:48 +12:00
Rob Bygrave and GitHub
6af5fae8e9
#1727 - Refactor internals to use Instant for json parse on date time types ( #1728 )
2019-06-10 16:16:04 +12:00
Snōwball and Rob Bygrave
c14cb4b85e
Add (failing) java 11 to travis - date time parsing with nanos precision ( #1724 )
...
* Add (failing) java 11 to travis
* Extra test-case for date parser
2019-06-04 21:56:25 +12:00
Rob Bygrave and GitHub
7fbdab6220
Refactor TableModState to use nanoTime refactor ( #1720 )
...
* #1719 - Refactor TableModState to use nanoTime
* Tests only - reduce logging
2019-05-21 00:42:17 +12:00
Rob Bygrave and GitHub
c6ba4d8155
Refactor DefaultTransactionThreadLocal, convert ThreadLocal to field (from map) ( #1716 )
...
* Refactor DefaultTransactionThreadLocal, convert ThreadLocal to field (from map)
* Add test for multiple database thread locals
2019-05-18 15:16:17 +12:00
Rob Bygrave and GitHub
8e9d644bc6
Merge pull request #1697 from ebean-orm/feature/1695-binary
...
#1695 - For MySql like remove the binary keyword + Add caseSensitiveCollation configuration option
2019-05-16 19:46:38 +12:00
rob bygrave
c61e6b04a2
Update sql server testing
2019-05-12 11:41:24 +12:00
Roland Praml
579c1efcf6
Add tests and fixes in hashCode
2019-05-08 17:00:08 +02:00
rob bygrave
4aa8a0dc63
#1694 - findList() with firstRows/maxRows adds "order by id" (even with orderById(false))
2019-05-03 14:33:42 +12:00
Rob Bygrave and GitHub
7e6d059ef1
Merge pull request #1690 from ebean-orm/feature/1686
...
#1686 - Change the default JSON format to ISO8601 for date and datetime types (from epoch millis)
2019-04-30 20:18:20 +12:00
rob bygrave
a5e3a70921
#1685 DefaultServerCache expose hit and miss count to assist testing
...
Expose these counters to assist the testing of duel caches where
DefaultServerCache is used as the near cache.
2019-04-28 09:50:45 +12:00