rob bygrave
9fdb375229
#1691 - Refactor io.ebean.Model to use a named database - support for use with non-default named database
2019-04-30 23:42:59 +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
856a3a6fdd
#1689 - ENH: Add query usingTransaction() and usingConnection()
2019-04-30 20:13:12 +12:00
Thibault Meyer
c5d761076a
Remove useless comparison test
...
The result of certain comparison tests can sometimes be inferred
from their context and the results of other comparisons. Inspect
the code to check whether the logic is correct, and consider
simplifying the logical expression.
Signed-off-by: Thibault Meyer <meyer.thibault@gmail.com >
2019-04-28 12:10:56 +02:00
rob bygrave
4bedefa494
Merge branch 'master' of github.com:ebean-orm/ebean
2019-04-28 09:51:08 +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
Rob Bygrave and GitHub
f6f4368048
Merge pull request #1687 from thibaultmeyer/bugfix/implicit-conv-from-array-to-str
...
Fix implicit conversion from array to string
2019-04-28 00:38:23 +12:00
rob bygrave
e700f1c83c
#1685 Update ServerCacheFactory to support standard metrics collection
2019-04-27 23:22:26 +12:00
Thibault Meyer
b89371acd1
Fix implicit conversion from array to string
...
When converting an array to a readable string, use Arrays.toString
for one-dimensional arrays. This function iterate over the contents
of the array and produce human-readable output.
Signed-off-by: Thibault Meyer <meyer.thibault@gmail.com >
2019-04-27 13:06:02 +02:00
rob bygrave
6c88325dad
#1685 Update ServerCacheFactory to support standard metrics collection
2019-04-27 22:57:30 +12:00
rob bygrave
ecec966a85
#1686 - Change the default JSON format to ISO8601 for date and datetime types (from epoch millis)
2019-04-27 11:20:21 +12:00
rob bygrave
c46ac04c0a
#1684 - Fix JSON marshalling on LocalDate, sql.Date etc - explicit UTC
...
Make explicit use of UTC
2019-04-27 10:33:17 +12:00
rob bygrave
25e6d05542
#1685 - Add support for MetaCounterMetrics and refactor DefaultServerCache to use them
2019-04-27 00:34:45 +12:00
rob bygrave
d3ead5d2f9
#1684 - ENH: Support ISO date format for JSON marshalling on LocalDate, sql.Date etc
2019-04-26 19:01:16 +12:00
rob bygrave
28a70fa550
#1684 - ENH: Support ISO date format for JSON marshalling on LocalDate, sql.Date etc
2019-04-26 19:00:49 +12:00
rob bygrave
cf31830cbc
#1677 - No effective change - Add test but not failing etc
2019-04-26 13:21:19 +12:00
rob bygrave
b4105ab5d0
#1683 - Refactor MetaQueryPlan and MetaOrmQueryMetric - rename getQueryPlanHash() to getSqlHash()
2019-04-26 12:55:40 +12:00
rob bygrave
65fa1c056b
#1681 - Support hitting L2 bean cache via ... findList() with idsIn() expression
2019-04-26 12:01:16 +12:00
rob bygrave
242945aa18
#1681 - Update tests for TestCacheViaComplexNaturalKey
2019-04-26 11:54:52 +12:00
rob bygrave
8c0d6b1a72
#1679 - ENH: Support enabling/disabling L2 cache by "region" at runtime
2019-04-24 15:41:53 +12:00
rob bygrave
86436ac3ac
#1679 - ENH: Support enabling/disabling L2 cache by "region" at runtime
2019-04-24 15:41:07 +12:00
rob bygrave
ae228d6b0e
#1679 - ENH: Support enabling/disabling L2 cache by "region" at runtime
2019-04-24 14:00:22 +12:00
rob bygrave
d32559baf4
#1674 - For ProfileLocation use in constructors trim label <init> to init .... (for safe label)
2019-04-12 02:25:05 +12:00
rob bygrave
2639e799c5
#1673 - ENH: Support ProfileLocation on DtoQuery including via orm query.asDto()
2019-04-12 02:01:01 +12:00
rob bygrave
46c66b7169
#1672 - ENH: Add ebean.dumpMetricsOnShutdown=true ... for dumping metrics
2019-04-12 00:55:39 +12:00
rob bygrave
30ae435f33
#1672 - ENH: Add ebean.dumpMetricsOnShutdown=true ... for dumping metrics
2019-04-12 00:45:00 +12:00
rob bygrave
4f4743807c
#1671 - Use table alias with delete query for Postgres, Oracle, MySql
2019-04-10 01:25:43 +12:00
rob bygrave
4af8e53315
#1670 - Expose metrics as ServerMetrics interface (improvement over existing BasicMetricVisitor use)
2019-04-09 22:54:16 +12:00
rob bygrave
1c6fa575f2
#1669 - When deleting complex object graphs, entities are deleted multiple times
...
Fix by not unregistering the deleted bean hash in the transaction so that
the skip occurs on other root level bean traversals (the delete of the
2nd master bean)
2019-04-09 20:30:17 +12:00
rob bygrave
d433e0ea46
Merge branch 'bug-delete-with-version' of https://github.com/FOCONIS/ebean into FOCONIS-bug-delete-with-version
2019-04-09 20:06:12 +12:00
rob bygrave
42591a5a87
No effective change - reformat line
2019-04-09 20:05:22 +12:00
Roland Praml and Rob Bygrave
65a62bf683
Fix check constraint support for MariaDB >= 10.2.1 ( #1668 )
...
* fixed the check constraint support for mysql/mariadb
* update migration scripts
2019-04-09 19:38:57 +12:00
Roland Praml
3e3f3c35e7
add test case to show delete with version
2019-04-08 17:21:23 +02:00
rob bygrave
18e0ff7067
#1665 - Incorrect query execution metrics for ORM query converted to DTO query via asDto()
2019-04-01 23:11:16 +13:00
rob bygrave
4119c02f0d
#1663 Additionally trim the OrmQueryDetail.asString() output removing extra whitespace
2019-04-01 23:09:58 +13:00
rob bygrave
32b8fd0e26
#1663 Additionally trim the OrmQueryDetail.asString() output removing extra whitespace
2019-03-29 00:43:32 +13:00
rob bygrave
4971db54c8
#1663 - AutoTune - merge profiling such that "select (orderDate) fetch customer (id)" instead merges to "select (orderDate,customer)"
2019-03-29 00:19:21 +13:00
rob bygrave
e417b3cde2
#1661 - AutoTune - callstack filters _ebean_ methods
2019-03-28 20:47:34 +13:00
rob bygrave
f06f21cf5e
#1660 - Modify MetaOrmQueryMetric getQueryPlanHash to return hash of sql
2019-03-27 16:12:09 +13:00
rob bygrave
f8b97ff397
#1658 - ENH: Add label to ProfileLocation and use as default query label
...
- Extend/propagate the label from the origin query to secondary queries
(appending the relative path).
2019-03-27 12:57:36 +13:00
rob bygrave
fc032c632b
#1658 - ENH: Add label to ProfileLocation and use as default query label
2019-03-27 09:37:35 +13:00
rob bygrave
54534ea7f3
#1657 - ERROR BeanDescriptorManager - Error in deployment java.lang.RuntimeException: Expecting [ ... ] to start with "select"
2019-03-21 22:30:27 +13:00
rob bygrave
812dcbb4bb
#1653 - ENH: Add support for ClickHouse database
...
With array type conversion for primitive arrays
2019-03-20 23:13:50 +13:00
rob bygrave
a3d4b57b94
Merge branch 'feature/1653-clickhouse'
2019-03-20 22:07:42 +13:00
ooknight and Rob Bygrave
3ba9a52b0e
add server config : default enum type ( #1655 )
...
ENH: add server config : default enum type
2019-03-20 21:45:44 +13:00
rob bygrave
6a7555055d
No effective change - Update tests from Ebean -> DB
2019-03-14 21:11:59 +13:00
rob bygrave
eb31f1bfce
No effective change - Add more tests for LocalDate pre 1900 etc
2019-03-14 16:20:14 +13:00
rob bygrave
2e4f99318a
No effective change - Ebean -> DB in tests
2019-03-14 16:15:47 +13:00
rob bygrave
409c1d06b2
#1652 - Conversion problem between org.joda.time.LocalDate and java.sql.Date field for dates before Jan 2 1900
2019-03-14 16:08:04 +13:00
rob bygrave
01f2881940
#1653 - ENH: Add support for ClickHouse database
...
With array type conversion etc
2019-03-14 14:44:30 +13:00