rob bygrave
30da589ea0
#1701 (v2) - Replace TransactionMap with HashMap in DefaultTransactionThreadLocal
...
- Use ThreadLocal.withInitial to always have a map.
- Remove the calls to local.remove(); when the map is empty (with the expectation that the thread local will GC with an empty map.
2019-05-17 12:01:28 +12:00
rob bygrave
73990e3fb7
#1701 (v2) - Replace TransactionMap with HashMap in DefaultTransactionThreadLocal
2019-05-16 22:26:11 +12:00
rob bygrave
f7920de3c2
#1698 No effective change - reformat
2019-05-16 20:27:16 +12:00
rob bygrave
3dd5069f5a
#1698 FIX for IAE "key can't be empty" in System.getProperty()
...
That is, assertEquals("${}", PropertyEval.eval("${}"));
... for when we load properties that include the "${}" placeholder
2019-05-16 20:26:45 +12:00
rob bygrave
1d363776ec
No effective change - refactor rename in test for StartMySql
2019-05-16 20:08:06 +12:00
rob bygrave
c512eb564d
#1702 - Format only change
2019-05-16 20:07:43 +12:00
Rob Bygrave and GitHub
7f332e91ff
Merge pull request #1702 from FOCONIS/fix-mig-default-value
...
Fix: Migration when dbdefault is involved
2019-05-16 20:00:34 +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
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
Roland Praml
9eee224e03
migration scripts
2019-05-14 20:05:24 +02:00
Roland Praml
906d5f04ad
FIX: Migration when default value was changed
2019-05-14 20:02:55 +02: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 and GitHub
f893653090
Merge pull request #1699 from FOCONIS/fix-equals-modify-aware
...
Fix: equals() and hashCode() in ModifyAwareXXX
2019-05-11 13:43:40 +12:00
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
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
e4569f9362
#1693 - Update ebean-migration 11.15.1
2019-05-03 12:45:03 +12:00
rob bygrave
ed83bababc
[maven-release-plugin] prepare for next development iteration
2019-05-01 00:39:58 +12:00
rob bygrave
b746c83ed7
[maven-release-plugin] prepare release ebean-11.38.1
ebean-11.38.1
2019-05-01 00:39:44 +12:00
rob bygrave
8e45462c2c
Bump ebean-annotation to 4.10 with @DbName
2019-04-30 23:43:52 +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
rob bygrave
f94c3e81e5
Merge branch 'master' of github.com:ebean-orm/ebean
2019-04-30 16:36:06 +12:00
rob bygrave
4bf9e2b18e
Bump ebean-datasource to 4.5.2
2019-04-30 16:34:01 +12:00
Rob Bygrave and GitHub
112de29964
Merge pull request #1688 from thibaultmeyer/bugfix/useless-comparison-test
...
Remove useless comparison test
2019-04-29 09:18:11 +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
rob bygrave
dc5ac02952
Bump to 11.38.1-SNAPSHOT
2019-04-27 23:06:09 +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 and GitHub
1bb2b1318e
Merge pull request #1682 from ebean-orm/feature/1679-region
...
Feature/1679 region
2019-04-26 12:03:11 +12:00
rob bygrave
65fa1c056b
#1681 - Support hitting L2 bean cache via ... findList() with idsIn() expression
2019-04-26 12:01:16 +12:00