Roland Praml
579c1efcf6
Add tests and fixes in hashCode
2019-05-08 17:00:08 +02:00
Roland Praml
662f9cdeb3
fixed equals() method in ModifyAware collections.
2019-05-08 16:45:02 +02:00
rob bygrave
2648423930
#1696 - Refactor - trim unnecessary whitespace around IN clause bind parameters
2019-05-08 23:22:13 +12: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
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
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
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
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
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
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
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
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
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
rob bygrave
aef512a851
#1653 - ENH: Add support for ClickHouse database
2019-03-14 00:08:13 +13:00
rob bygrave
435e1f61fe
#1651 - ENH: Support change to io.ebean.Model that supports named databases (other than default database)
2019-03-13 15:05:08 +13:00
rob bygrave
276e865f72
#1647 - Change ServerConfig.updateAllPropertiesInBatch to default to false
2019-03-12 14:49:00 +13:00
rob bygrave
9ded3890d7
#1649 - ENH: Add optional length() attribute to @DbEnumValue
2019-03-12 14:31:44 +13:00
rob bygrave
119049b696
Javadoc update using "Database" vs "EbeanServer"
2019-03-07 16:53:13 +13:00
rob bygrave
33ff113585
#1648 - Change BeanFinder and BeanRepository to use Database rather than EbeanServer
2019-03-07 16:51:33 +13:00
rob bygrave
e3ca5d2419
Javadoc update using "DB" and hide DB constructor
2019-03-07 12:01:05 +13:00