Rob Bygrave
dd0ed8ea76
#2873 - Query Beans: Support more TQProperty's as target value for inRangeWith()
2022-11-02 17:35:00 +13: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
Rob Bygrave
4cc012b974
Bump to 13.7.1-SNAPSHOT
2022-08-09 14:26:04 +12:00
Rob Bygrave
c214fe52f0
Bump to 13.7.0
2022-08-09 13:59:43 +12:00
Rob Bygrave
e01b20aecb
Bump to 13.7.0-SNAPSHOT
2022-08-09 12:33:44 +12:00
Rob Bygrave and GitHub
2df6f2e5fb
Merge pull request #2770 from ebean-orm/feature/sqlquery-useTransaction
...
Add SqlQuery usingTransaction() for consistency and deprecate ExtendedServer API
2022-08-09 11:59:10 +12:00
Rob Bygrave and GitHub
1a74c7ca85
Merge pull request #2778 from ebean-orm/feature/metric-naming-convention
...
Support a naming convention function that can be applied to metrics names for reporting
2022-08-09 11:10:51 +12:00
Rob Bygrave
c7bd6c8bde
Support a naming convention function that can be applied to metrics names for reporting
...
For example, can apply a lower case underscore naming convention to the metrics names. This
can be done such that it doesn't have to be applied every time the metrics are collected and
reported.
2022-08-08 21:34:00 +12:00
Roland Praml and GitHub
cfb9d860f9
Merge branch 'ebean-orm:master' into add-ebean-annotation-to-bom
2022-08-03 14:40:22 +02:00
Roland Praml
ec9481420c
Add ebean-annotation to BOM
2022-08-03 11:34:31 +02:00
Rob Bygrave and GitHub
732f0e13e2
Merge pull request #2745 from ebean-orm/feature/2733-rename-moduleInfoLoader
...
#2733 - Rename ModuleInfoLoader to EntityClassRegister and _Ebean$ModuleInfo to EbeanEntityRegister
2022-08-03 20:35:21 +12:00
Rob Bygrave
4050d5e900
Add SqlQuery usingTransaction() for consistency and deprecate ExtendedServer API
...
- The ExtendedServer API is replaced by use of query usingTransaction()
- Add SqlQuery usingTransaction() for consistency with Query and DtoQuery
2022-08-02 15:35:00 +12:00
Rob Bygrave
e8d663c94e
[maven-release-plugin] prepare for next development iteration
2022-08-02 08:56:47 +12:00