rob bygrave
fa5ce9cbba
#1695 Add StartMyServer - docker mysql with collation options
...
- Adjust TestWhereLikeWithSlash ignoring slash escaping assert for mysql (due to dependency on no_backslash_escapes setting)
2019-05-16 16:55:05 +12:00
rob bygrave
b7905daeb5
#1695 Fix case sensitive builtin sql server proc
...
- Update main.StartSqlServer to use updated ebean-test-docker with collation support
2019-05-16 15:36:22 +12:00
rob bygrave
9da7c9468e
#1695 Add caseSensitiveCollation configuration option
...
This is really only to use with testing via
platform.isCaseSensitiveCollation() to determine
which asserts/tests apply (based on collation).
2019-05-15 16:19:12 +12:00
rob bygrave
654c3f7f67
#1695 - For SQL Server like remove the binary collation (Latin1_General_BIN)
2019-05-12 15:22:08 +12:00
rob bygrave
c61e6b04a2
Update sql server testing
2019-05-12 11:41:24 +12:00
rob bygrave
b4782425f8
#1695 - For MySql like remove the binary keyword
2019-05-08 23:38:25 +12:00
rob bygrave
2648423930
#1696 - Refactor - trim unnecessary whitespace around IN clause bind parameters
2019-05-08 23:22:13 +12:00
rob bygrave
b62cea5073
No effective change - add findNative tests with named params in select
2019-05-08 23:12:10 +12:00
rob bygrave
c10ad11b8b
No effective change - add example use of PathProperties
2019-05-08 22:50:37 +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
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