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
5178b76431
Update internals migrate from deprecated methods baseTable()
2021-10-20 20:07:54 +13:00
Rob Bygrave
8fb02662e6
#2423 Add @Nullable on single bean publish and restore by id
2021-10-20 20:06:59 +13:00
Rob Bygrave
1aac63771d
#2423 Tidy up DefaultServer internals getting descriptor
2021-10-20 19:58:11 +13:00
Rob Bygrave
3a138c3462
Tidy internals only - improve DefaultServer parameter names
2021-10-20 16:07:43 +13:00
Rob Bygrave
30088f4de7
#2423 Tidy up DefaultServer internals with Objects.requireNonNull()
2021-10-20 15:53:50 +13:00
Rob Bygrave and GitHub
cc272bb950
Merge pull request #2423 from ebean-orm/feature/nonNullApi
...
Use @NonNullApi to explicitly reflect non-null return types and params by default
2021-10-20 15:47:44 +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
92a13ad265
Remove pom releaseBackup files that should not be there
2021-10-20 09:52:06 +13:00
Rob Bygrave
a445557ec3
#2422 - Remove extraneous jsr 305 @Nonnull
2021-10-19 17:59:25 +13:00
Rob Bygrave
c7bb027c7d
#2422 - Remove extraneous jsr 305 @Nonnull
2021-10-19 17:33:23 +13:00
Rob Bygrave
709eb369c9
#2419 - Add explicit @Nullable on findOne() methods
2021-10-19 12:12:11 +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
Rob Bygrave
a61c73c62a
#2418 #2420 BeanState.loadErrors() returns empty map
...
Change Database.beanState() to throw IllegalArgumentException when bean isn't an entity bean
2021-10-19 11:52:36 +13:00
Rob Bygrave
7862648b83
#2419 - Add explicit @Nullable on findOne() methods
2021-10-19 11:50:22 +13:00
Rob Bygrave
fa252a1fe4
Javadoc for #2303 - bump to pgjdbc 42.3.0
2021-10-19 11:23:26 +13:00
Rob Bygrave
add7a8c4ba
Javadoc for #2303 - bump to pgjdbc 42.2.25
...
Noting that this version of pgjdbc has not been released yet. Guessing that this is the next release number.
2021-10-14 14:49:15 +13:00
Rob Bygrave
834c04bd33
Update Postgres test dependency only ( #2303 )
2021-10-13 09:45:00 +13:00
Rob Bygrave
9bda4ab5c7
#2303 - Add javadoc for notes on Postgres with "allQuotedIdentifiers = true"
2021-10-13 09:37:40 +13:00
Rob Bygrave
d1ca7a30dc
Merge branch 'FOCONIS-tidy-remove-readjson-resetContext'
2021-10-12 15:11:35 +13:00
Rob Bygrave
cb67dd0f29
Merge branch 'tidy-remove-readjson-resetContext' of https://github.com/FOCONIS/ebean into FOCONIS-tidy-remove-readjson-resetContext
2021-10-12 15:11:23 +13:00
Rob Bygrave
e173f6e9a9
Tidy only DefaultPersistenceContext after merge of #2411
2021-10-12 15:10:36 +13:00
Rob Bygrave and GitHub
349cd01921
Merge pull request #2411 from ebean-orm/feature/weak-reference-persistence-context
...
Weak reference based persistence context for streaming queries
2021-10-12 14:39:47 +13:00
Rob Bygrave and GitHub
8fa7fa6af3
Merge pull request #2413 from FOCONIS/feature/weak-reference-persistence-context
...
Change DefaultPersistenceContect to use beginIterate / endIterate
2021-10-12 14:34:05 +13:00
Rob Bygrave
caf18565a0
[maven-release-plugin] prepare for next development iteration
2021-10-12 12:46:15 +13:00
Rob Bygrave
c89d39ec2d
[maven-release-plugin] prepare release ebean-parent-12.12.2
ebean-parent-12.12.2
2021-10-12 12:46:08 +13:00
Rob Bygrave
556557276c
Bump ebean-agent version
2021-10-12 12:38:08 +13:00
Roland Praml
2f277938e5
Remove LoadContext.resetPersistenceContext
2021-10-11 17:48:09 +02:00
Roland Praml
5322ab3e7e
Remove: ReadJson.resetContext as it is not used
2021-10-11 17:22:33 +02:00
Roland Praml
100832ddd9
Changed test to test pc.beginIterate / endIterate
2021-10-11 17:16:34 +02:00
Roland Praml
3f5009aa91
Use WeakReferences when in iterate query mode
2021-10-11 16:25:21 +02:00
Roland Praml
8dbd290119
Remove: ReadJson.resetContext as it is not used
2021-10-11 13:40:03 +02:00
Rob Bygrave
ea3fb833a4
Weak reference based PersistenceContext for streaming queries
2021-10-11 22:48:18 +13: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
8440a13b0f
Refactor rename internal method DefaultPersistenceContext.classContext()
2021-10-11 11:36:38 +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
a65ff8a650
Tidy test only - TestOneToManyCorrectGrouping
2021-10-08 12:55:50 +13:00
Rob Bygrave
f904fea104
Tidy, remove unnecessary --add-opens test clause for eban-querybean testing
2021-10-08 12:55:22 +13:00
Rob Bygrave
2549eace09
#2406 - Memory leak in Query.findEach
2021-10-08 11:20:54 +13:00
Jonas Pöhler
a592717c77
Merge remote-tracking branch 'ebean/master' into pr/bugfix/reuse_update_collection_parameters
2021-10-06 11:57:50 +02: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
0a0d67585c
[maven-release-plugin] prepare for next development iteration
2021-10-05 10:50:00 +13:00
Rob Bygrave
db2f8cd811
[maven-release-plugin] prepare release ebean-parent-12.12.1
ebean-parent-12.12.1
2021-10-05 10:49:53 +13:00
Rob Bygrave
b6e524f879
Disable test modules for release
2021-10-05 10:47:23 +13:00
Rob Bygrave
40492f487c
#2404 - Initializing @OneToMany with mutableListOf() in Kotlin results in ClassCastException
2021-10-05 10:17:44 +13:00
Rob Bygrave
2cee03bc4b
#172 Bump ebean-agent via maven plugin
...
The associated ebean-agent has the fix for the kotlin specific #172 issue.
2021-10-04 22:57:24 +13:00
Rob Bygrave and GitHub
e2c6125501
Merge pull request #2402 from ebean-orm/feature/ebean-agent-min-version
...
Modify EbeanVersion to check for minimum ebean-agent version
2021-09-30 10:42:33 +13:00
Rob Bygrave
b53221fc0e
Modify EbeanVersion to check for minimum ebean-agent version
2021-09-29 12:20:27 +13:00