Rob Bygrave
38bc5b2fea
#2488 - refactor extract logic into DockerHost helper, fix RedisSetup, pass docker host to ebean-test-docker
2022-01-14 16:27:04 +13:00
Rob Bygrave and GitHub
c5779133bc
Merge pull request #2485 from FOCONIS/fix-utf8-problems-with-specialchars
...
Fix utf8 problems with specialchars
2022-01-13 11:05:27 +13:00
Rob Bygrave and GitHub
b8b6311348
Merge pull request #2447 from FOCONIS/fix-scalartype-problem2
...
Traverse class hierarchy, when searching for ScalarType
2022-01-13 10:58:05 +13:00
FOCONIS\szemenyei
8eed983fbb
restore old test
2022-01-12 08:37:46 +01:00
bigjimlefou
e92939a34d
Fix failing test on Windows platform
2022-01-11 15:41:20 +01:00
bigjimlefou
408b982eb3
Use of platform-specific specific file separator
2022-01-11 15:41:19 +01:00
bigjimlefou
dd7e7711a8
Use of platform-specific specific file separator
2022-01-11 15:41:19 +01:00
bigjimlefou
5a3f7853a6
Fix failing test on Windows platform.
2022-01-11 15:41:19 +01:00
Roland Praml and FOCONIS\szemenyei
01847e44de
Always use UTF-8
2022-01-11 10:11:13 +01:00
Jonas Pöhler
e7f9c63502
Clear up some possible confusion in the test
2022-01-05 15:46:34 +01:00
Jonas Pöhler
eb21b41fba
Refactor and fixes for interfaces (like Path) + extend existing tests
2022-01-05 14:22:24 +01:00
Jonas Pöhler
3dc6c567a0
Merge remote-tracking branch 'ebean/master' into fix-scalartype-problem2
2022-01-05 13:34:29 +01:00
Cédric Sougné
9ddf1333ed
Fix locale problem with TestCsvReader and TestCsvReaderWithCallback.
2021-12-23 17:19:44 +01:00
tFellner and GitHub
42594533da
Support for Sequences in MariaDB ( #2304 )
...
* Support for Sequneces in MariaDB
* clean up readSequenceValue in test class
* remove flakiness
* remove change for later discussion
* replace deprecated methods
* strictly allow sequences
2021-12-20 16:11:30 +13:00
Rob Bygrave
361df6732a
#2472 - BeanPersistController and isCascade() for delete requests (following #2458 )
2021-12-20 15:49:58 +13:00
Rob Bygrave
1a6a426683
#2458 - Add BeanPersistController.isCascade() to identify cascade vs "top level" persist requests
2021-12-17 10:43:27 +13:00
Rob Bygrave
9bdcd6c55e
#2452 - server-wide defaultJsonMutation SOURCE is not honored by DbJson scalar types (e.g. List<String>)
2021-12-07 18:13:17 +13:00
Rob Bygrave
b9f3ff24e9
Tidy test only - BasicProfileLocationTest
2021-12-07 15:25:02 +13:00
Rob Bygrave
9752eced1f
Adjust tests for JDK 18-ea build
2021-12-07 15:24:19 +13:00
Rob Bygrave
9d26ab2103
Adjust tests for JDK 18-ea build
2021-12-07 15:15:21 +13:00
Roland Praml
84ac737ceb
ADD: Testcase for Calendar
2021-12-02 10:42:49 +01:00
Rob Bygrave and GitHub
466a616f3e
Merge pull request #2445 from FOCONIS/improve-testing
...
Improve testing, add DB2 Docker testing support to ebean-test
2021-12-01 09:35:45 +13:00
Noemi Szemenyei
25bc0e947d
NPE Fix with .setCountDistinct(CountDistinctOrder.NO_ORDERING)
2021-11-30 10:21:34 +01:00
Roland Praml
dfb1d6ab54
ADD: Db2 container support
2021-11-26 15:01:15 +01:00
Rob Bygrave
c3e91fed65
Tidy TestElementCollectionBasicSet only
2021-11-26 21:33:26 +13:00
Rob Bygrave
8a25a7b6ec
#2444 - exists and findCount queries produce NPE on entity defined with IdClass - SqlTreeProperties.add(SqlTreeProperties.java:38)
2021-11-26 21:10:31 +13:00
Rob Bygrave
a9c6cd15a1
#2433 - Postgres JSONB dirty checking - trim json
2021-11-26 16:39:09 +13:00
Rob Bygrave
63b9b42dc8
#2433 - Postgres JSONB dirty checking - trim json
2021-11-26 16:34:15 +13:00
Rob Bygrave
07f9bf98c3
#2436 - SQL Update doesn't handle named parameters for array types in Postgres
2021-11-26 14:46:06 +13:00
Rob Bygrave
9af64f61f7
#2435 - Fix DBArray is not loaded in asDto Postgres queries
2021-11-26 14:32:47 +13:00
Rob Bygrave
c1a78d3c8b
Merge branch 'master' of https://github.com/majkiw/ebean into majkiw-master
2021-11-25 18:53:28 +13:00
Rob Bygrave and GitHub
34135360ed
Merge pull request #2442 from FOCONIS/findmap-with-beancache-without-mapkey
...
findMap() with beanCache should use idPoperty if mapKey = null
2021-11-22 15:15:07 +13:00
Rob Bygrave
b4403c58d1
Merge branch 'assume-infoInherit-infoType-without-children' of https://github.com/FOCONIS/ebean into FOCONIS-assume-infoInherit-infoType-without-children
2021-11-22 15:06:34 +13:00
Rob Bygrave
08e166a9b7
Merge branch 'json-deserialize-references' of https://github.com/FOCONIS/ebean into FOCONIS-json-deserialize-references
2021-11-22 14:51:21 +13:00
Noemi Szemenyei
60d0a3da39
findMap() with beanCache should use idPoperty if mapKey = null
2021-11-19 11:53:37 +01:00
Noemi Szemenyei
1c224444c0
Assume InfoInherit infoType when it has no children
2021-11-16 13:44:53 +01:00
Jonas Pöhler and Noemi Szemenyei
d3e07defa0
FIX: Json deserialize references
2021-11-16 11:57:30 +01:00
Noemi Szemenyei
1b5d379ed3
Fix for Query with PathProperties (*,x(y))
2021-11-16 11:45:18 +01:00
Noemi Szemenyei
b90393a691
Unittest for select Query with (*,x(y))
2021-11-16 11:39:14 +01:00
Rob Bygrave
2cbb161ed5
Follow up to #2437 - Rename internal "dead/alive" to "replaced"
2021-11-04 10:40:04 +13:00
Roland Praml
fd1b5f58bc
FIX: Subsequent findEach / findList does not work reliable (Regression of #2411 )
2021-11-03 11:34:04 +01:00
Michal Wysocki
39a4035f3b
Extra assertions for DBArray in asDTO and sqlUpdate
2021-11-02 13:25:42 +01:00
Rob Bygrave
704a138ff0
Tidy build.yml and TestExtraScalarTypes
2021-10-28 22:34:55 +13:00
Rob Bygrave
d507452d63
Fix test TestExtraScalarTypes for github workflows build
2021-10-28 22:33:28 +13:00
Roland Praml
d55023dbc7
FIX: When a bean is modified in persistence context and searched again, it will loose the change
2021-10-21 16:50:53 +02:00
Rob Bygrave
fcda419abb
#2424 Preserve using PersistenceException when transaction register(Callback) called with no active transaction
2021-10-21 12:06:45 +13:00
Rob Bygrave
4d34c9e868
#2424 Change error for transaction register(Callback) when no active transaction from PersistenceException to NullPointerException
...
Ah ok, so in being more strict on null for currentTransaction() that shows up the code that registers transaction callbacks as checking for null and throwing PersistenceException. This is inconsistent with LOTS of other methods that use currentTransaction() and would result in NPE.
The concept here is that PersistenceException for this case isn't better than NPE and NPE is actually more consistence wrt using currentTransaction().
2021-10-21 12:02:42 +13:00
Rob Bygrave
b3ee982b64
Use @NonNullApi to explicitly reflect non-null return types and params by default
2021-10-20 15:45:20 +13:00
Rob Bygrave
a445557ec3
#2422 - Remove extraneous jsr 305 @Nonnull
2021-10-19 17:59:25 +13:00
Rob Bygrave
5a4924b6cb
#2421 - Change database.diff() to return empty map rather than null with null bean argument
2021-10-19 11:58:29 +13:00