Rob Bygrave
6d6b07bf87
Bump avaje-config to version 2.4
2022-11-23 08:35:04 +13:00
Rob Bygrave
d56098dbf0
[maven-release-plugin] prepare for next development iteration
2022-11-22 08:09:45 +13:00
Rob Bygrave
07682c97a7
[maven-release-plugin] prepare release ebean-parent-13.10.2
2022-11-22 08:09:37 +13:00
Rob Bygrave
e87a06a713
#2894 - Lack of setNullParameter() functionality on io.ebean.DtoQuery interface
2022-11-21 17:00:55 +13:00
Rob Bygrave
dd7605ac3a
#2888 - DatabaseFactory.create() fails with java.lang.InstantiationError: io.ebean.bean.EntityBeanIntercept in multi-module gradle setup
2022-11-15 14:50:34 +13:00
Rob Bygrave
47dfbb6157
#2864 - Not advertise services configurable via DatabaseConfig.putServiceObject() that are "internal"
...
"internal" meaning that in terms of module-path they are not in a properly exported package. For example,
they are in a subpackage of io.ebeaninternal
2022-11-10 13:11:08 +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
Rob Bygrave
79cd1da9a4
[maven-release-plugin] prepare for next development iteration
2022-11-03 00:27:30 +13:00
Rob Bygrave
759cf18c41
[maven-release-plugin] prepare release ebean-parent-13.10.1
2022-11-03 00:27:22 +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
dd0ed8ea76
#2873 - Query Beans: Support more TQProperty's as target value for inRangeWith()
2022-11-02 17:35:00 +13:00
Roland Praml
f8c6a3c960
NEW: Ovverride service objects with DatabaseConfig.putServiceObject
2022-10-25 10:28:55 +02:00
Noemi Praml
c855df8b8d
javadoc
2022-10-18 07:59:19 +02:00
Rob Bygrave
3c298a67ff
[maven-release-plugin] prepare for next development iteration
2022-10-14 13:31:18 +13:00
Rob Bygrave
27504a4dae
[maven-release-plugin] prepare release ebean-parent-13.10.0
2022-10-14 13:31:10 +13:00
Rob Bygrave
9c64a69b8c
Bump to 13.10.0-SNAPSHOT
2022-10-14 13:13:09 +13:00
Rob Bygrave
993607ef4b
[maven-release-plugin] prepare for next development iteration
2022-09-14 11:18:25 +12:00
Rob Bygrave
18765b3ac2
[maven-release-plugin] prepare release ebean-parent-13.9.3
2022-09-14 11:18:18 +12:00
Rob Bygrave
7c23dd06f8
[maven-release-plugin] prepare for next development iteration
2022-09-05 17:44:35 +12:00
Rob Bygrave
e813edae01
[maven-release-plugin] prepare release ebean-parent-13.9.2
2022-09-05 17:44:28 +12:00
Rob Bygrave
5b1ace8607
[maven-release-plugin] prepare for next development iteration
2022-09-02 09:16:08 +12:00
Rob Bygrave
74321277ff
[maven-release-plugin] prepare release ebean-parent-13.9.1
2022-09-02 09:16:01 +12:00
Rob Bygrave
7df168f232
ENH: Add Transaction.rollbackAndContinue()
...
Typically useful for handling DuplicateKeyException where we expect
DuplicateKeyException to be thrown and catch it with the intention of
continuing processing using the same transaction.
Note that some databases like Oracle do not require this explicit
rollback() and would work without the rollbackAndContinue(). Postgres
in particular requires the rollback() call on the underlying connection
such that we can continue using that transaction/java.sql.Connection.
Note that in the existing test we can see that rollbackAndContinue()
is pretty close to being syntactic sugar. I think adding rollbackAndContinue()
is justified and complements the existing commitAndContinue().
2022-09-01 17:08:11 +12:00
Rob Bygrave
28d70cf9c4
[maven-release-plugin] prepare for next development iteration
2022-09-01 12:33:08 +12:00
Rob Bygrave
25d0675532
[maven-release-plugin] prepare release ebean-parent-13.9.0
2022-09-01 12:33:01 +12:00
Rob Bygrave
e3e30cafdd
Refactor tidy error and log messages - part 2
2022-08-27 17:15:08 +12:00
Rob Bygrave
3f2d0ef520
Bump to 13.9.0-SNAPSHOT
2022-08-26 17:49:01 +12:00
Rob Bygrave
c5e8b217e3
Refactor ScalarType, remove convertFromMillis() method (no longer needed)
...
Due to the move and change of CsvReader using StringParser ScalarType no longer
needs that general convertFromMillis() method. Note that date and dateTime ScalarTypes
still retain this conversion method.
2022-08-25 22:37:47 +12:00
Rob Bygrave
efe80a534c
Extract CsvReader - remove built in date, time, dateTime parsing - use StringParser instead
...
Just always use our own StringParser lambda function instead for parsing date, time and dateTime types.
2022-08-25 22:09:38 +12:00
Rob Bygrave
1aac01ead0
Extract CsvReader - move DefaultCsvCallback and add module-info
2022-08-25 17:49:11 +12:00
Rob Bygrave
216c43eea6
Extract CsvReader into separate ebean-csv-reader module
2022-08-25 17:25:49 +12:00
Rob Bygrave and GitHub
4b11147b83
Merge pull request #2801 from ebean-orm/feature/drop-feature-OnQueryOnly
...
Remove the OnQueryOnly (rollback) feature
2022-08-25 12:30:16 +12:00
Rob Bygrave
10c9b2addd
Remove ScalarType.isDateTimeCapable() ... (only used by CSV reader)
...
So the complexity cost doesn't justify itself against only being used
by CSV reader to validate when assigning a date/time format to a property
/ expression path.
2022-08-25 12:16:37 +12:00
Rob Bygrave and GitHub
3092b59622
Merge pull request #2800 from ebean-orm/feature/refactor-databasePlatform
...
Refactor database platform - remove unused tableExists() method, rename getters to accessors
2022-08-25 12:01:49 +12:00
Rob Bygrave
981c3595a8
[maven-release-plugin] prepare for next development iteration
2022-08-25 11:34:05 +12:00
Rob Bygrave
5414fa17cf
[maven-release-plugin] prepare release ebean-parent-13.8.1
2022-08-25 11:33:58 +12:00
Rob Bygrave
96b674114c
Remove the OnQueryOnly (rollback) feature
...
The better approach these days is to use the read-only datasource with autoCommit
2022-08-25 11:26:55 +12:00
Rob Bygrave
456086fb3c
Refactor DatabasePlatform - rename getters to accessors
...
Although this is public API these getters are not expected to be used
by application code so, I feel comfortable making this change.
2022-08-25 10:34:39 +12:00
Rob Bygrave
341b9a7449
Refactor DatabasePlatform - remove unused method tableExists()
2022-08-25 10:23:14 +12:00
Rob Bygrave
6c7cedc1f1
#2799 - Remove unused DatabasePlatform.treatEmptyStringsAsNull
2022-08-25 10:19:11 +12:00
Rob Bygrave
c297ebda5a
No effective change, fix typo in DatabasePlatform variable name
2022-08-23 16:09:45 +12:00
Rob Bygrave
4252445eb4
Use AppLog and System.Logger for logging - static imports
2022-08-23 15:18:46 +12:00
Rob Bygrave
a23f241fff
Use AppLog and System.Logger for logging rather than slf4j-api
...
The avaje-applog-slf4j dependency means this is still using
slf4j-api for implementation. Remove that dependency and
service load the desired implementation.
2022-08-18 22:44:31 +12:00
Rob Bygrave
f827a292ff
[maven-release-plugin] prepare for next development iteration
2022-08-18 16:04:31 +12:00
Rob Bygrave
a027c630b1
[maven-release-plugin] prepare release ebean-parent-13.8.0
2022-08-18 16:04:25 +12:00
Rob Bygrave
ab1a49abee
Include ebean-types and persistence-api in BOM
2022-08-18 15:42:55 +12:00
Rob Bygrave
348535ec6c
Bump to 13.8.0-SNAPSHOT
2022-08-18 15:35:17 +12:00
Rob Bygrave
6c15115530
#2786 - Support logging Ebean version unknown
...
We don't really care if we can't determine the version so only log when we can read it.
2022-08-17 17:42:39 +12:00
Rob Bygrave
51d2f52d19
#2782 - Support MariaDB jdbc driver update - Batched JDBC SQLException translation, SqlRow BLOB reading
...
- Batched JDBC SQLException translation - Need to dig into nested exception to get cause error state
- SqlRow BLOB reading - BLOB can come as LONGVARBINARY (TestRawSqlBuilder)
- Fix test for history using system time (TestHistoryInsert)
- Fix SqlQueryCancelTest
- Fix TestSqlUpdateExceptions
2022-08-17 17:25:28 +12:00
Rob Bygrave
d703709f14
#2784 - Correct documentation for TQRootBean.findSingleAttribute with @Nullable
2022-08-12 15:50:17 +12:00