Rob Bygrave and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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
Rob Bygrave
efcee7e739
Improve test asserts for lazy loading element collection
2023-03-10 21:33:58 +13:00
Rob Bygrave
523fe6ae54
#2946 - Support specify select clause for RawSql
2023-03-10 20:31:54 +13:00
Rob Bygrave
8ec031bfde
Merge branch 'query_select_bugs' of github.com:buchtajz/ebean into buchtajz-query_select_bugs
2023-03-10 19:38:26 +13:00
Rob Bygrave
cd938fd659
Bump github actions versions on all build.yml
2023-03-10 14:17:38 +13:00
Rob Bygrave
837e296451
Bump github actions versions on build.yml
2023-03-10 14:14:31 +13:00
Rob Bygrave
52b0bd7b7d
Bump kotlin version to 1.8.10
2023-03-10 13:57:14 +13:00
Rob Bygrave
a8cad4f3d9
Change such that querybean generated class registration can be used will explicit class registration
...
In DatabaseConfig.isAutoLoadModuleInfo() it only used the querybean generated class registration is classes.isEmpty(). Changing this so that it only uses the loadModuleInfo flag.
This means, unless loadModuleInfo is set to false the classes that register with ebean will be a combination of both the explicitly registered ones plus the classes from the querybean generated EbeanEntityRegister.
In addition, this changes the classes from List to Set.
2023-03-10 11:01:46 +13:00
Rob Bygrave
e4cb81cbba
Bump to 13.14.2-SNAPSHOT
2023-03-10 00:26:34 +13:00
Rob Bygrave
08cd0aa4b7
Fix the jakarta <-> javax scripts with space after sed -i
2023-03-10 00:22:13 +13:00
Rob Bygrave
b565a5843e
Version 13.14.1
13.14.1
2023-03-09 21:38:47 +13:00
Rob Bygrave
79c96c9ec1
Improve error message in InterceptReadWrite when lazy loading and no default server registered
2023-03-09 17:14:36 +13:00
Rob Bygrave and GitHub
b703b683d8
Merge pull request #2994 from ebean-orm/feature/ErrorNoAttributeConverter
...
Throw IllegalStateException when @Convert on property but there is no…
2023-03-09 16:28:20 +13:00
Rob Bygrave
456eb3aca9
Throw IllegalStateException when @Convert on property but there is no AttributeConverter registered for that type
2023-03-09 16:27:41 +13:00
Rob Bygrave and GitHub
54c35300d4
Merge pull request #2992 from ebean-orm/feature/iae-batch-lazy-load
...
Fix for IndexOutOfBoundsException: The size must be at least 1
2023-03-09 09:59:12 +13:00
Rob Bygrave
dfc5963e35
Fix for IndexOutOfBoundsException: The size must be at least 1
...
Stack trace observed:
java.lang.IndexOutOfBoundsException: The size must be at least 1
at io.ebeaninternal.server.deploy.id.IdBinderSimple.getIdInValueExpr(IdBinderSimple.java:135)
at io.ebeaninternal.server.deploy.BeanDescriptor.parentIdInExpr(BeanDescriptor.java:1634)
at io.ebeaninternal.server.deploy.BeanPropertyAssocManySqlHelp.addWhereParentIdIn(BeanPropertyAssocManySqlHelp.java:121)
at io.ebeaninternal.server.deploy.BeanPropertyAssocMany.addWhereParentIdIn(BeanPropertyAssocMany.java:342)
at io.ebeaninternal.api.LoadManyRequest.createQuery(LoadManyRequest.java:90)
at io.ebeaninternal.server.core.DefaultBeanLoader.loadMany(DefaultBeanLoader.java:39)
at io.ebeaninternal.server.core.DefaultServer.loadMany(DefaultServer.java:475)
at io.ebeaninternal.server.loadcontext.DLoadManyContext$LoadBuffer.loadMany(DLoadManyContext.java:215)
at io.ebean.common.AbstractBeanCollection.lazyLoadCollection(AbstractBeanCollection.java:90)
at io.ebean.common.BeanList.init(BeanList.java:141)
at io.ebean.common.BeanList.iterator(BeanList.java:327)
2023-03-09 09:57:41 +13:00
Rob Bygrave
36777d5a3d
No effective change - static import for log level
2023-03-09 09:41:20 +13:00