Rob Bygrave
85b700757d
Merge pull request #3010 from ebean-orm/feature/support-dynamicFormulaWithIncludes
...
Add support for dynamic formula with includes
2023-04-06 14:10:26 +12:00
Rob Bygrave
d5838e3d64
Merge pull request #3009 from ebean-orm/build/13-16
...
Build 13.17.0
2023-04-06 14:09:53 +12:00
Rob Bygrave
01e9eb81cf
For testing PostGIS use ghcr.io/baosystems/postgis:15 docker image
...
This is a fork of the official PostGIS docker that support multi-architectures
and more specifically ARM
2023-04-04 22:40:02 +12:00
Rob Bygrave
4a372a5dc8
Remove unused import
2023-03-30 13:13:09 +13:00
Rob Bygrave
8e864897bd
Bump to next snapshot version
2023-03-30 13:00:55 +13:00
Rob Bygrave
87b12cff93
Version 13.16.0
13.16.0
2023-03-29 22:48:06 +13:00
Rob Bygrave
14ea5521c4
Merge pull request #3015 from ebean-orm/fix/3012-shutdown-leak
...
Fix for #3012 Manual server shutdown leads to memory leak
2023-03-29 21:11:07 +13:00
Rob Bygrave
e1522df8a5
Fix for #3012 Manual server shutdown leads to memory leak
...
The issue being that shutdown() // with no args was
not calling ShutdownManager.unregisterDatabase(this)
noting that shutdown(boolean, boolean) did.
This change merges the old shutdownInternal(boolean, boolean)
method into shutdown(boolean, boolean) and simplifies
shutdown() to just call shutdown(boolean, boolean).
2023-03-29 20:59:23 +13:00
Rob Bygrave
b4f309c219
Bump ebean-agent to 13.16.0
2023-03-29 20:33:40 +13:00
Rob Bygrave
181c6a9d4b
Merge pull request #3014 from ebean-orm/fix/autotune-key
...
[autotune] Fix key on CallStack - regression from introduction of StackWalker.StackFrame
2023-03-29 20:00:06 +13:00
Rob Bygrave
203aa52c2f
Merge pull request #3013 from ebean-orm/feature/update-autotune-test
...
Update tests for Autotune
2023-03-29 19:36:42 +13:00
Rob Bygrave
ad3e88c562
Update tests for Autotune
2023-03-29 19:31:46 +13:00
Rob Bygrave
adb302059b
[autotune] Fix key on CallStack - regression from introduction of StackWalker.StackFrame
2023-03-29 19:30:56 +13:00
Rob Bygrave
9506e6456c
Merge pull request #3011 from ebean-orm/feature/improve-error-message-no-join-columns
...
Improve the error message "No join columns found" to include the relationship
2023-03-27 21:45:46 +13:00
Rob Bygrave
4617ea2c1c
Improve the error message "No join columns found" to include the relationship
2023-03-27 21:44:23 +13:00
Rob Bygrave
55d7eb55d2
Add support for dynamic formula with includes
...
e.g.
DB.find(ChildPerson.class)
.select("name, coalesce(someBean, parent.someBean) as effectiveBean") // include parent
.findList();
2023-03-25 15:49:17 +13:00
Rob Bygrave
7feb193e95
Merge pull request #3007 from ebean-orm/refactor/rename-loadContext-methods
...
Refactor rename methods in LoadContext
2023-03-25 15:39:40 +13:00
Rob Bygrave
ab8915b374
Merge pull request #3008 from ebean-orm/feature/expressionRequest-refactor
...
Refactor SpiExpressionRequest
2023-03-25 15:31:09 +13:00
Rob Bygrave
79fd689e9a
Add support for raw SQL SubQuery expressions IN,EQ,NE,GT,GE,LT,LE,EXISTS,Not IN, Not EXISTS
...
For these expressions the SQL SubQuery is not parsed by ebean and
just used as is.
2023-03-24 22:38:52 +13:00
Rob Bygrave
a68665a37e
Refactor rename methods on SpiExpressionRequest, DeployParser etc
2023-03-24 19:57:21 +13:00
Rob Bygrave
9ff240dc10
Refactor SpiExpressionRequest split parse() into property() and path() to have fast path
...
property() uses a fast path for the common case that the expression is a bean property path.
This will then fall back to using parse() when that isn't the case.
2023-03-24 19:35:11 +13:00
Rob Bygrave
9982fa3682
Refactor SpiExpressionRequest split append() into append() and parse()
...
- append() adds to the sql with NO parsing
- parse() adds to the sql with parsing to replace logical bean paths into table alias placeholder + db column
2023-03-24 17:37:34 +13:00
Rob Bygrave
f7a11135a5
Refactor rename methods in LoadContext
...
Rename internal methods only
2023-03-23 22:11:02 +13:00
Rob Bygrave
c29a81248a
Remove internal asserts on DLoadBeanContext bufferLock
2023-03-23 22:07:59 +13:00
Rob Bygrave
ef6d1dbca3
Bump to next snapshot version
2023-03-23 01:12:10 +13:00
Rob Bygrave
60a84b7a38
Version 13.15.2
13.15.2
2023-03-22 23:33:48 +13:00
Rob Bygrave
fa3e9e6fc6
Bump ebean-agent to 13.15.2
2023-03-22 23:30:28 +13:00
Rob Bygrave
8ca44edf9c
Merge pull request #3006 from ebean-orm/fix/3005-rawSql-select
...
Fix for #3005 - Regression, Invalid SQL with RawSql in 13.15.0 due o #2996
2023-03-22 23:25:33 +13:00
Rob Bygrave
fcefd94086
Fix for #3005 - Regression, Invalid SQL with RawSql in 13.15.0 due to #2996
2023-03-22 23:18:18 +13:00
Rob Bygrave
70e5d57b7e
Bump to next snapshot version
2023-03-21 23:32:21 +13:00
Rob Bygrave
cc3b9c9508
Version 13.15.1
13.15.1
2023-03-21 21:17:08 +13:00
Rob Bygrave
be49be38d0
Bump ebean-agent to 13.15.1
2023-03-21 20:45:59 +13:00
Rob Bygrave
dca13db945
Merge pull request #3002 from ebean-orm/feature/improveLogging-markedAsDeleted
...
Improve the logging around MarkedAsDeleted
2023-03-21 20:43:12 +13:00
Rob Bygrave
bd318a5d85
Improve the logging around MarkedAsDeleted
2023-03-21 20:30:39 +13:00
Rob Bygrave
4c2be2986a
Merge pull request #3000 from FOCONIS/bugfix-fix-json-import
...
FIX: DB.json().toBean(target) can update existing lists (#85 )
2023-03-18 10:22:18 +13:00
3d7bebd244
FIX: DB.json().toBean(target) can update existing lists ( #85 )
...
* FIX: DB.json().toBean(target) can update existing lists
* remove sys.print, typo
---------
Co-authored-by: Roland Praml <roland.praml@foconis.de >
Co-authored-by: Juri Skrobko <juri.skrobko@foconis.de >
2023-03-17 11:04:53 +01:00
Rob Bygrave
e23bbf5f94
Revert test sqlserver docker image to 2017-CU28-ubuntu-16.04
2023-03-17 19:18:53 +13:00
Rob Bygrave
27b0c33a4b
Adjustments for SqlServer using BIGINT
2023-03-17 18:51:33 +13:00
Rob Bygrave
53ef159d06
Bump Postgres docker image to 15
2023-03-17 18:50:52 +13:00
Rob Bygrave
a7d778d98b
Merge branch 'master' of github.com:ebean-orm/ebean
2023-03-17 18:14:17 +13:00
Rob Bygrave
19580ff83d
Bump SqlServer docker image to 2022-RTM-CU2-ubuntu-20.04
2023-03-17 18:14:02 +13:00
Rob Bygrave
a79a44c513
Merge pull request #2999 from ebean-orm/feature/2998-sqlserver-bigint
...
#2998 - SQLServer, map java long to BIGINT for bitwise expressions
2023-03-17 18:04:32 +13:00
Rob Bygrave
184b82e1b2
Fix test TestRawSqlQuerySelect for SqlServer
...
The order by not supported here by SqlServer
2023-03-17 18:03:37 +13:00
Rob Bygrave
04e935acd0
#2998 - SQLServer, map java long to BIGINT for bitwise expressions
2023-03-17 17:54:25 +13:00
Rob Bygrave
142ffe925c
Fix test TestRawSqlQuerySelect to support multiple databases
2023-03-16 09:06:09 +13:00
Rob Bygrave
395505ec0d
Bump to 13.15.1-SNAPSHOT
2023-03-14 16:57:17 +13:00
Rob Bygrave
c21a76fa5b
Version 13.15.0
13.15.0
2023-03-14 12:54:53 +13:00
Rob Bygrave
a2690fdccd
#2995 - Change DatabaseConfig.getClasses() to return a Set
...
The thinking is that it is safer to make this API change
rather than to return a shallow copy which you won't be
able to detect.
2023-03-14 11:56:01 +13:00
Rob Bygrave
4039c20462
Merge pull request #2996 from ebean-orm/buchtajz-query_select_bugs
...
Add support for specifying select clause with RawSql
2023-03-14 11:48:40 +13:00
Rob Bygrave
6d43028fba
Merge pull request #2995 from ebean-orm/feature/config-isLoadModuleInfo
...
Change such that querybean generated class registration can be used with explicit class registration
2023-03-14 11:48:09 +13:00