Serhii Dakhnii
3277fe81a1
Fixed mandatory LIMIT generation in case of firstRow>0
2022-11-30 21:36:08 +02:00
Rob Bygrave and GitHub
391b33beae
Merge pull request #2880 from FOCONIS/feature/improve-enc-support
...
ADD encryption support for Between and InRange
2022-11-02 22:26:37 +13:00
Roland Praml
245ba9c6b3
ADD encryption support for Between and InRange
2022-11-02 09:52:56 +01:00
Roland Praml
3a2b20eb43
Merge remote-tracking branch 'upstream/master' into issue-2774/encryption-support-for-in
2022-11-02 07:53:32 +01:00
Roland Praml
c5612d50fe
#2774 Locally encrypted properties can be used in "in" queries
2022-10-27 14:38:41 +02:00
Rob Bygrave
b7e62df371
Refactor extract ebean-joda-time module - move joda ScalarTypes
...
Moves the joda-time ScalarTypes into a new ebean-joda-time module. Include
the ebean-joda-time module in the classpath, and the extra types will be
service loaded (by DefaultTypeManager).
2022-08-26 17:32:31 +12:00
Rob Bygrave
456086fb3c
Refactor DatabasePlatform - rename getters to accessors
...
Although this is public API these getters are not expected to be used
by application code so, I feel comfortable making this change.
2022-08-25 10:34:39 +12:00
Rob Bygrave
9252e72581
#2748 - Fix such that .setLoadBeanCache(false) ... sets CacheMode.OFF
2022-07-20 07:45:20 +12:00
Rob Bygrave
745fbe883e
#2737 - Mapping of TimeZone doesn't have enough characters
2022-07-05 09:05:13 +12:00
Rob Bygrave
e71e16c1ee
Refactor extract separate modules for each platform from ebean-api dbplatform
2022-03-30 17:11:36 +13:00
Rob Bygrave
84a64f9640
Refactor tests, move BaseTestCase and annotations @ForPlatform @IgnorePlatform
2022-03-24 18:52:37 +13:00
Rob Bygrave
e4c06432a0
Move some more unit tests from ebean-test back to ebean-core
2022-03-24 18:48:59 +13:00
Rob Bygrave
f58d6038c7
Move some unit tests from ebean-test back to ebean-core
2022-03-24 18:21:48 +13:00
Roland Praml
ab6f5daec3
FIX LargeValueInsert-Test for DB2
2022-03-17 13:26:54 +01:00
Rob Bygrave
92e85e32a2
#2598 - H2 + @Lob String fails with - Error[Value too long for column "CHARACTER VARYING": "... (1048577)" [22001-210]]
2022-03-16 22:13:52 +13:00
Rob Bygrave
febd56c9c0
#2581 - SoftDelete on @OneToMany is ignored after refresh() (since 12.11.5)
2022-03-10 16:19:11 +13:00
Rob Bygrave
b8b83c2ec8
Update more tests for CockroachDB
2022-02-04 16:59:16 +13:00
Rob Bygrave
daf0ba67a4
#2547 - CockroachDB - Use ON DISTINCT ... like Postgres and Yugabyte
2022-02-04 08:58:21 +13:00
Rob Bygrave
389f2bcd2f
Modify tests to use isPostgresCompatible() (to effectively include Yugabyte)
2022-02-02 23:25:13 +13:00
Rob Bygrave
567ad92050
Yugabyte - Tidy tests
2022-02-01 10:41:29 +13:00
Rob Bygrave
b4ddbe38ee
Yugabyte - Fix some tests for running against Yugabyte
2022-02-01 09:49:23 +13:00
Roland Praml
5845f94303
DB2:ignored tests
2022-01-28 10:28:02 +01:00
Roland Praml
e5d29afa4c
DB2: Disabled test for encryption, as it is not supported for Db2
2022-01-28 10:27:39 +01:00
Roland Praml and FOCONIS\szemenyei
01847e44de
Always use UTF-8
2022-01-11 10:11:13 +01: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
9d26ab2103
Adjust tests for JDK 18-ea build
2021-12-07 15:15:21 +13:00
Noemi Szemenyei
60d0a3da39
findMap() with beanCache should use idPoperty if mapKey = null
2021-11-19 11:53:37 +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
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
e173f6e9a9
Tidy only DefaultPersistenceContext after merge of #2411
2021-10-12 15:10:36 +13:00
Roland Praml
3f5009aa91
Use WeakReferences when in iterate query mode
2021-10-11 16:25:21 +02:00
Rob Bygrave
0273e1c2c8
Modify test TestUpdate to ensure basic test data is loaded first
2021-10-11 12:13:02 +13:00
Rob Bygrave
c5e940733c
#2408 Followup refactor BindParamsParser extract methods
2021-10-11 11:21:28 +13:00
Rob Bygrave and GitHub
ac73031bec
Merge pull request #2408 from FOCONIS/pr/bugfix/reuse_update_collection_parameters
...
Fix reuse of io.ebean.Update when using setParameter with Collection
2021-10-11 11:01:23 +13:00
Rob Bygrave
2549eace09
#2406 - Memory leak in Query.findEach
2021-10-08 11:20:54 +13:00
Jonas Pöhler
db6f93e383
FIX: Reuse of io.ebean.Update with collection parameters did not work correctly
2021-10-06 11:57:09 +02:00
Rob Bygrave
9af006b15b
Update tests only for Oracle
2021-09-23 18:49:28 +12:00
Rob Bygrave
e8524c5b1a
Fix tests only - fix tests for SqlServer
2021-09-23 17:07:35 +12:00
Rob Bygrave
3244314424
#2390 - Tidy generated SQL removing excess whitespace after id = ? predicate
2021-09-23 16:42:45 +12:00
Jonas Pöhler
aea50b4805
Fix assert methods and import
2021-09-15 15:30:07 +02:00
Jonas Pöhler
a582db9101
Re-add test and fix compile error
2021-09-13 17:04:22 +02:00
Rob Bygrave
9fc2ec044d
#2362 - ENH: Add lock(bean) method as convenience for DB pessimistic locking
2021-09-09 18:18:16 +12:00
Rob Bygrave
7a327cb644
#2361 - Tidy tests only, organise imports
2021-09-09 11:29:05 +12:00
Rob Bygrave
1696caadd4
#2361 - Tidy tests only, move to LoggedSql (ebean-test)
2021-09-09 11:25:04 +12:00
rbygrave
eab56d323b
Refactor move tests from ebean-core to ebean-test
2021-09-08 22:49:23 +12:00