buchtajz and GitHub
e6f5e42c2d
Merge branch 'ebean-orm:master' into one2many_setArraylist
2023-02-05 09:25:29 +01:00
Rob Bygrave
09001e80b5
#2948 - SoftDelete entities are hard deleted on orphan removal
2023-02-02 23:02:44 +13:00
Michal Buchtík
39099bbcc9
print sql
2023-01-31 23:01:52 +01:00
Michal Buchtík
cb2ca0de11
setArrayListDoInsertInsteadUpdate
2023-01-30 23:47:18 +01:00
Jan Klička
b25233b0b9
Merge branch 'master' into hard_delete_instead_of_soft_delete_2
...
# Conflicts:
# ebean-test/pom.xml
2023-01-27 16:28:03 +01:00
Jan Klička
743f1b10e3
#2948
2023-01-27 16:17:01 +01:00
Michal Buchtík
6055a33dc8
fix changes
2023-01-27 12:11:01 +01:00
Michal Buchtík
230d18e48f
failing test for rawSql select .asDto query
2023-01-27 11:39:37 +01:00
Roland Praml
61d6cccbcb
FIX: Using weak references in load buffer for streaming queries
2023-01-20 16:51:51 +01:00
Rob Bygrave
519b75a778
Adjust tests for Postgres - DtoQuery2Test and EaObject
2023-01-20 16:58:26 +13:00
Rob Bygrave
93fc7b07a0
Add more tests for DtoQuery column -> property mapping
2023-01-20 09:32:38 +13:00
Rob Bygrave and GitHub
d7e6feebc2
Merge pull request #2935 from ebean-orm/feature/2915-invalid-id-mapping
...
#2915 - Failing test for - generator param of @GeneratedValue is not ignored when using GenerationType.AUTO on db where this uses identity
2023-01-20 08:34:25 +13:00
Roland Praml
a3540057b7
BUG: Memory-leak on streaming queries when LoadBuffers are not aligned
2023-01-18 09:24:47 +01:00
Rob Bygrave
724183f669
Merge branch 'fix-order-by-on-prop' of github.com:FOCONIS/ebean into FOCONIS-fix-order-by-on-prop
2023-01-18 07:46:41 +13:00
Rob Bygrave and GitHub
a40212d41e
Merge pull request #2934 from ebean-orm/feature/2931-redis-collectionIds
...
Ebean Redis - Failed to decode cache data for UUID as Id
2023-01-18 07:41:59 +13:00
Rob Bygrave
03c9782d63
#2915 - Failing test for - generator param of @GeneratedValue is not ignored when using GenerationType.AUTO on db where this uses identity
2023-01-18 00:07:04 +13:00
Rob Bygrave
130e9451f4
#2931 - Fix for Ebean Redis - Failed to decode cache data for UUID as Id
2023-01-17 23:20:33 +13:00
Jonas Pöhler
2c81d0df03
ADD: failing testcase for dropping two or more related, but otherwise unreferenced tables
2023-01-13 15:14:35 +01:00
Roland Praml
9ef59e359b
Removed supportsSelect (dead code)
2023-01-13 13:43:41 +01:00
Roland Praml
6561f6f5e7
BUG: @OrderBy on chained properties do not work with distinct (fix)
2023-01-13 13:29:16 +01:00
Roland Praml
b2e8e628fa
BUG: @OrderBy on chained properties do not work with distinct (testcase)
2023-01-13 13:06:54 +01:00
Rob Bygrave
bbb8d85971
Fix test TestBeanCache for postgres compatible asserts
2023-01-10 20:17:50 +13:00
Rob Bygrave and GitHub
321fb26df3
Merge pull request #2927 from FOCONIS/findset-beancache
...
NEW: BeanCache for findSet
2023-01-09 10:29:15 +13:00
Rob Bygrave and GitHub
28bd018d1f
Merge pull request #2926 from FOCONIS/prepare-query
...
FIX: prepare FindMap query for proper bean cache / DB access
2023-01-09 10:28:09 +13:00
Rob Bygrave
530bfa982e
Fix memory leak with streaming queries with Id Embedded
...
- The Id Embedded beans do not need the embeddedOwner to be set. They do not need to propagate dirty state back to the owner.
2023-01-05 23:27:22 +13:00
Roland Praml
a2e8f098cf
NEW: BeanCache for findSet
2023-01-04 17:11:24 +01:00
Roland Praml
9e42cfd7d7
FIX: prepare FindMap query for proper bean cache access
2023-01-04 16:59:31 +01:00
Roland Praml
1d48e2afb3
Ignore private/package private classes from CP-scan
2023-01-04 13:59:51 +01:00
Rob Bygrave
9720cd8189
Add SpiTxnLogger as main point to log SQL, SUM and TXN messages on a per transaction basis
2022-12-02 02:34:14 +13:00
Rob Bygrave
bc4d9837c6
Modify SpiLogger removing isTrace(), trace() and the 2 uses
...
- Not bothered to log when changing isolation level
- Not bothering to log at end of query only transaction
2022-12-01 23:45:40 +13:00
Rob Bygrave
e290f68b29
Revert " #2908 - Fix tests for Oracle and DB2 with maxRows and forUpdate()
2022-12-01 22:58:30 +13:00
Rob Bygrave
a17e62b491
Revert " #2908 - [Oracle] Change OraclePlatform to use AnsiSqlLimiter (noting Oracle does not support FOR UPDATE with FETCH/OFFSET"
...
This reverts commit 62ed5a9f
2022-12-01 22:51:37 +13:00
Rob Bygrave
c317092dc5
#2907 - Promote Db2SqlLimiter to be AnsiSqlRowsLimiter and move to ebean-api module
2022-12-01 22:40:13 +13:00
Rob Bygrave
62ed5a9f2b
#2908 - [Oracle] Change OraclePlatform to use AnsiSqlLimiter (noting Oracle does not support FOR UPDATE with FETCH/OFFSET
2022-12-01 22:24:35 +13:00
Rob Bygrave
37ba0b63e4
#2907 - Promote Db2SqlLimiter to be AnsiSqlRowsLimiter and move to ebean-api module
2022-12-01 22:18:16 +13:00
Rob Bygrave
45529958ef
#2904 MySql and MariaDB do not support OFFSET without LIMIT, ignore them for these tests
2022-12-01 21:27:44 +13:00
Rob Bygrave
7aa64f47c8
Fix test TestQueryCache for Oracle (not supporting READ_UNCOMMITTED as expected)
2022-12-01 10:46:26 +13:00
Serhii Dakhnii
3277fe81a1
Fixed mandatory LIMIT generation in case of firstRow>0
2022-11-30 21:36:08 +02:00
Rob Bygrave
e87a06a713
#2894 - Lack of setNullParameter() functionality on io.ebean.DtoQuery interface
2022-11-21 17:00:55 +13:00
Rob Bygrave and GitHub
013123c1a7
Merge pull request #2864 from FOCONIS/feature/override-service-objects
...
NEW: Override service objects with DatabaseConfig.putServiceObject
2022-11-10 13:05:22 +13:00
Roland Praml
0fd2f34ed0
Possible bug: Setting isolation level disables query cache
2022-11-09 09:46:51 +01:00
Rob Bygrave
d29ef8934d
Add more operators to StdOperators
...
- stricter use of UpdateQuery.set()
- Numbers just use their own type - PBaseNumber
- PEnum just uses its own type
- Expr.factory() to expose factory
2022-11-09 17:47:16 +13:00
Rob Bygrave
97bbce321d
Make Query.Property parameterised with <BT> "Base Type" as Number, String, Temporal, Boolean or Object
...
These types then determine which functions are valid for the types. So:
- Number functions
- String/varchar functions
- Temporal Date, DateTime, Time functions
- Boolean functions
- Object being everything else
2022-11-08 21:57:36 +13:00
Rob Bygrave
3da924b943
Add Query.Property.of(), Move StdFunctions to ebean-api
2022-11-07 12:57:39 +13:00
Rob Bygrave
0a61852711
#2847 - Add support for Sub-query EQ, NE, LT, LE, GT, GE expressions
2022-11-03 00:22:48 +13:00
Rob Bygrave
6f5e144a93
Refactor tidy sql generated by InQueryExpression
...
Remove excess padding and () around the property name
2022-11-02 22:41:06 +13: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
5170b9f329
Merge branch 'master-rob2' into issue-2774/encryption-support-for-in
2022-11-02 08:15:10 +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