Jonas Pöhler
50824f1d7f
NEW: CustomDeployParser
2021-10-22 15:04:46 +02:00
Jonas Pöhler
60cf9fa078
NEW: TempFileProvider will clean up files automatically if the reference is gc'ed
2021-10-22 14:20:36 +02:00
Jonas Pöhler
af0f9a4d15
ENH: allow server startup without running ddl and thus allowing starting with the database not yet up and later lazily initializing the database and running ddl
2021-10-22 13:59:54 +02:00
Jonas Pöhler
45aa04e086
ADD: EntityImplements and EntityOverride + Tests
2021-10-22 13:46:41 +02:00
Roland Praml
7ace1c87a1
NEW: method ebean_recalc notifies the bean to perform additional computations
...
(cherry picked from commit f140795423 )
2021-10-22 13:33:56 +02: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
03e0519951
Refactor tidy internals for DefaultServer, rename descriptorManager
2021-10-21 13:41:58 +13:00
Rob Bygrave
bc23d5829c
Refactor tidy internals for DefaultPersister, BeanDescriptorManager etc
2021-10-21 13:30:32 +13:00
Rob Bygrave
64108aac40
#2424 Preserve using PersistenceException when transaction register(Callback) called with no active transaction
2021-10-21 12:12:02 +13:00
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
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
b3ee982b64
Use @NonNullApi to explicitly reflect non-null return types and params by default
2021-10-20 15:45:20 +13:00
Rob Bygrave
a445557ec3
#2422 - Remove extraneous jsr 305 @Nonnull
2021-10-19 17:59:25 +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
e173f6e9a9
Tidy only DefaultPersistenceContext after merge of #2411
2021-10-12 15:10:36 +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
3f5009aa91
Use WeakReferences when in iterate query mode
2021-10-11 16:25:21 +02:00
Rob Bygrave
ea3fb833a4
Weak reference based PersistenceContext for streaming queries
2021-10-11 22:48:18 +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
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
8f94072afd
Log error when ebean-ddl-generator not in classpath but ddlRun is true
2021-09-23 22:32:01 +12:00
Rob Bygrave
d028b200fa
Log error when ebean-ddl-generator not in classpath but ddlRun is true
2021-09-23 22:28:01 +12:00
Rob Bygrave
35a6ff7f02
#2392 - Oracle specific singleAttribute distinct query - not include the column twice with order by clause
2021-09-23 18:48:40 +12:00
Rob Bygrave
cebac8040f
#2391 - MySql specific NPE because the return value of "java.sql.ResultSetMetaData.getTableName(int)" is null
2021-09-23 17:20:59 +12:00
Rob Bygrave
3244314424
#2390 - Tidy generated SQL removing excess whitespace after id = ? predicate
2021-09-23 16:42:45 +12:00
Rob Bygrave
0a4c26965c
No effective change - tidy whitespace in CQueryBuilder
2021-09-23 16:36:20 +12:00
Rob Bygrave
6238243c91
No effective change - tidy whitespace in CQueryBuilderRawSql
2021-09-23 16:35:35 +12:00
Rob Bygrave
c1d7e77d85
No effective change - tidy whitespace in DtoMeta etc
2021-09-23 16:31:29 +12:00
Rob Bygrave
5b07309f51
#2389 - redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'mget' command
2021-09-23 15:41:33 +12:00
Rob Bygrave
477e7eeeda
#2387 - Hit the L2 bean cache via property IN expression (when property is the id property)
2021-09-23 00:23:23 +12:00
Rob Bygrave
f467ca2e10
Refactor internals, reduce the number of loggers used and simplify
2021-09-22 22:29:41 +12:00
Rob Bygrave
a14f7a1766
#2039 Map LocalDateTime when generating DB migrations for Postgres to timestamp DB type
2021-09-22 16:23:10 +12:00
Rob Bygrave
57689db291
Merge pull request #2380 from cit-consulting/isToManyDirty_cce
...
WIP: Try to fix ClassCastException in isToManyDirty() check
2021-09-22 14:00:19 +12:00
Rob Bygrave
97e9b3c473
#2383 - Refactor rename Pairs methods for consistency (that are expected to be used only internally)
2021-09-21 15:01:01 +12:00
Rob Bygrave
3550bf61c4
Refactor rename TransactionManager methods ( #2382 )
2021-09-21 14:54:26 +12:00
Rob Bygrave
0bf8c9eb64
Add module-info support via multi-version jar ( #2381 )
2021-09-21 14:37:51 +12:00
Vladimir Konkov
01e7ddcffd
Try to fix ClassCastException in isToManyDirty() check
2021-09-20 20:02:58 +03:00
rbygrave
a7a056f041
#2379 - Refactor tidy internals only - method names and tidy for internal BatchPstmt and related
2021-09-20 12:35:00 +12:00
rbygrave
1bf9cfde50
#2377 - Revert back the changes to BatchControl as no longer needed
...
With the fix to the depth we no longer need these changes to BatchControl
2021-09-20 11:53:31 +12:00
rbygrave
f51f2269fb
#2377 - Wrong order in batch save, fix transaction depth
...
The guts of this fix is in DefaultPersister.saveAssocOne() with the change to use the new transaction.depthDecrement() method. For our failing test cases this changes the depth from -1, 0 to be 0, 1.
We can see the impact of this change in the batch ordering via the logging of:
io.ebean.SUM - txn[1001] BatchControl flush ...
2021-09-17 17:58:20 +12:00