Rob Bygrave
4c13a3a779
Refactor move package - server.type.DataBind to server.bind, server.text.json -> server.json
...
The DataBind classes don't need to be in with server.type anymore.
The server.text.json package can just reduce package nesting.
2022-08-26 14:51:19 +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
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
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
01155c3466
#2798 - SQL Anywhere: invalid escape character on like expression
2022-08-23 18:16:51 +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
348535ec6c
Bump to 13.8.0-SNAPSHOT
2022-08-18 15:35:17 +12:00
Rob Bygrave
c0a3f7e05d
Refactor rename internal methods - io.ebeaninternal.server.query
2022-08-18 11:11:12 +12:00
Rob Bygrave
dc730fd97b
#2788 - Support mapping @DbArray List<Float> to Postgres float4[]
2022-08-18 08:23:52 +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 and GitHub
f5e9356451
Merge pull request #2783 from Wooza/patch-1
...
Bump mariadb-java-client to 3.0.7
2022-08-17 14:55:20 +12:00
Rob Bygrave and GitHub
73bc9e516e
Revert "Migrate to Jakarta JAXB (jakarta.xml.bind <- javax.xml.bind)"
2022-08-15 15:14:57 +12:00
Rob Bygrave
4523db85c3
Fix for generated migration index files in test
2022-08-12 15:54:09 +12:00
Flo and GitHub
dd5bb3edff
Bump mariadb-java-client to 3.0.7
2022-08-10 12:48:02 +02: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
a831ee9ac9
Bump to 13.7.0-SNAPSHOT
2022-08-09 12:35:00 +12:00
Rob Bygrave
58713c7083
#2770 - Improve test asserts with SqlQuery usingTransaction()
2022-08-09 12:31:36 +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
dependabot[bot] and GitHub
565f6c5ac6
Bump postgresql from 42.3.3 to 42.4.1 in /ebean-test
...
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc ) from 42.3.3 to 42.4.1.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases )
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.3...REL42.4.1 )
---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-06 05:55:53 +00:00
Rob Bygrave and GitHub
797e1f4bd2
Merge pull request #2767 from ebean-orm/feature/2766-json-ref-bean
...
#2766 Explicitly specify disableLazyLoad on beans created from JSON by default
2022-08-03 20:36:19 +12:00
Rob Bygrave and GitHub
a14507e563
Merge pull request #2765 from ebean-orm/feature/2762-forUpdate-pagingList-count
...
#2762 - forUpdate is NOT included in query copy() method
2022-08-03 20:35:45 +12:00
Rob Bygrave and GitHub
a6304ebe8b
Merge pull request #2722 from ebean-orm/feature/jakarta-jaxb
...
Migrate to Jakarta JAXB (jakarta.xml.bind <- javax.xml.bind)
2022-08-03 20:34:55 +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
Rob Bygrave
effcb86174
[maven-release-plugin] prepare release ebean-parent-13.6.6
2022-08-02 08:56:41 +12:00
Rob Bygrave
01d5aa8199
#2760 - Add ServerMetrics.asJson() ... to support conversion of collected metrics to json
2022-08-01 16:54:49 +12:00
Rob Bygrave
7474430a63
#2768 - ENH: Add eqIfPresent() - a helper expression for fluid style when some EQ are optional
2022-08-01 16:36:09 +12:00
Rob Bygrave
ed830aeb0c
#2766 - Explicitly specify disableLazyLoad on beans created from JSON (default)
...
- Beans created from JSON default to disableLazyLoad true
- Explicitly use new JsonReadOptions().setEnableLazyLoading(true) when lazy loading is needed
2022-08-01 15:43:08 +12:00
Rob Bygrave
54cbdae22d
#2766 - Failing test for reference bean created from JSON allows lazy loading.
2022-08-01 15:38:11 +12:00
Rob Bygrave
bb77d6588a
#2762 - forUpdate is NOT included in query copy() method
...
The copy() method is used by findPagedList(), findIds(), findFutureList() etc.
2022-08-01 11:35:58 +12:00
Rob Bygrave
3a84e4183d
Fix platform specific asserts with TestQuerySingleAttribute using limit/offset
2022-08-01 09:45:33 +12:00
Rob Bygrave
d12dc9bfed
Fix platform specific asserts with TestQuerySingleAttribute using limit/offset
2022-08-01 09:37:34 +12:00
Rob Bygrave
5f689dee1b
No effective change - tidy test only, TestQuerySingleAttribute
2022-08-01 09:20:38 +12:00
Rob Bygrave
08d3a3b2f5
Fix platform specific assert in test TestQuerySingleAttribute
2022-08-01 09:16:55 +12:00
Rob Bygrave
4ed5f91963
#2756 - Fix for Bug findSingleAttributeList o2m maxrows
...
Allow maxRows use in this case
2022-07-29 22:37:06 +12:00
Rob Bygrave
f36e4543ee
#2755 - Effectively fixed by #2753 , format only change
2022-07-29 18:08:31 +12:00
Rob Bygrave
37f92bf967
Merge branch 'bug-singleattributelist-o2m-orderby' of github.com:FOCONIS/ebean into FOCONIS-bug-singleattributelist-o2m-orderby
2022-07-29 18:07:22 +12:00
Rob Bygrave
eb14531b66
#2754 - Adjust test query for oneToMany_notNull()
2022-07-29 17:29:56 +12:00
Rob Bygrave
6c1a3647f9
Merge branch 'bug-findsingleattributelist-o2m-notnull' of github.com:FOCONIS/ebean into FOCONIS-bug-findsingleattributelist-o2m-notnull
2022-07-29 17:29:10 +12:00
Rob Bygrave
fa9e9be003
#2753 - Fix for, Bug findSingleAttributeList o2m distinct
2022-07-29 17:12:51 +12:00
Rob Bygrave
02ead0bcdb
Merge branch 'bug-findsingleattributelist-o2m-distinct' of github.com:FOCONIS/ebean into FOCONIS-bug-findsingleattributelist-o2m-distinct
2022-07-29 16:58:04 +12:00