Rob Bygrave
9b52070968
Merge branch 'master' into v15-2
2023-10-10 23:44:04 +13:00
Rob Bygrave
1e8c609dec
Remove the Deprecated(experimental) from StdOperators
2023-10-10 23:42:47 +13:00
Rob Bygrave
4506596379
Tidy remove old stylesheet.css from source
2023-10-10 23:41:42 +13:00
Rob Bygrave
f2afd11d6b
Merge branch 'master' into v15-2
2023-10-10 23:30:56 +13:00
Rob Bygrave
0b2c016af2
Version 13.23.0
2023-10-10 22:46:30 +13:00
Rob Bygrave
1cc1d29c2f
Deprecate ServletContextListener (for shutdown in servlet container)
...
Deprecated for removal - no intention to replace. Create your own
ServletContextListener if needed for your application.
2023-10-06 22:38:26 +13:00
Rob Bygrave
bdc236159b
Bump avaje-config to 3.8
2023-10-06 22:03:45 +13:00
Rob Bygrave
429843c358
#3209 MetricsAsJson escape the SQL string content
2023-10-04 23:15:14 +13:00
Rob Bygrave
7163264cb1
[15x] Remove Inheritance support
2023-09-11 23:47:03 +12:00
Rob Bygrave
877d829d08
[15x] Remove "Future queries" findFutureList, findFutureIds, findFutureCount
...
Note that findFutureCount still exists as an internal implementation detail
of findPagedList but not exposed via Query API for public use.
2023-09-11 23:38:49 +12:00
Rob Bygrave
8a347fd773
[15x] Remove ElasticSearch support
2023-09-11 23:38:16 +12:00
Rob Bygrave
5f847ab283
[15x] Remove Draftable support
2023-09-11 23:37:18 +12:00
Rob Bygrave
eb7694e513
[15x] Remove Read Auditing feature
2023-09-11 23:34:45 +12:00
Rob Bygrave
48dfa1ff21
[15x] Remove Named DTO queries and External Mapping (loading named queries)
2023-09-11 23:34:45 +12:00
Rob Bygrave
3577d95744
[15x] Remove Named queries, ANTLR, Query language parser
2023-09-11 23:34:45 +12:00
Rob Bygrave
ff43672f4e
Move source to Jakarta (use ./jakarta-to-javax.sh)
...
Moving the master branch to use jakarta based code and
dependencies. Change to use ./jakarta-to-javax.sh to convert
back to javax when releasing that.
2023-09-11 23:31:01 +12:00
Rob Bygrave
0842a3f3e2
Version 13.22.0
2023-08-30 22:17:31 +12:00
Rob Bygrave
5377454476
Follow up #3173 - Change BeanSet clear() to lazy load ALL properties
...
To avoid the 1+N lazy loading queries that are invoked due to the clear()
when the entity bean in the Set has a hashCode/equals implementation
2023-08-29 21:20:19 +12:00
Rob Bygrave
359a55d7a5
#3173 - BeanSet lazy loading / Too many DataSource connections used
...
- The error reported was that a DataSource connection pool maxed out
- The symptom was that there was an additional lazy loading queries invoked via the hashCode/equals implementation of ManyToMany Set.
- The fix is for BeanSet init() to lazy load with onlyIds = false, that avoids the extra lazy loading query from being executed
2023-08-29 18:28:09 +12:00
Rob Bygrave
8c30b66d39
Add forRemoval = true on existing @Deprecated
2023-08-27 20:31:03 +12:00
Rob Bygrave
d56ca5b841
Deprecate for removal Database.commitTransaction() and Database.rollbackTransaction()
...
Migrate to using try-with-resources and transaction.commit() and transaction.rollback()
2023-08-27 20:29:05 +12:00
Rob Bygrave
cb06052c86
For Lists.partition() fix for empty list input
...
Fix such that empty list input produces an empty list
2023-08-21 20:19:59 +12:00
Roland Praml
dede93ca62
Use char-append instead of String-append
2023-08-21 08:22:18 +02:00
Rob Bygrave
b0da647b0e
Fix javadoc for filterManyRaw()
2023-08-21 11:17:29 +12:00
Rob Bygrave
fbcd4c3133
Add filterManyRaw() and Deprecate filterMany( <string expressions> )
...
The filterMany( <string expressions> ) uses the language parser which
ultimately will we probably remove in ebean 15.x
Code can migrate to filterManyRaw() instead or better yet change to
use the improved query beans filterMany( <closure> ) option that will
be included in this same ebean release.
2023-08-21 11:15:39 +12:00
Rob Bygrave
00e594d4fa
Refactor prefer char append
2023-08-19 11:01:15 +12:00
Rob Bygrave
ded4b94e54
Add Query bean filterMany() taking a closure
...
Query beans also generate a "Assoc" query bean that is used
for the relationships. Previously these were generated into a
.query.assoc package and with this they are generated as an
inner class of the query bean.
This then allows the change where an additional filterMany()
is generated on the "Assoc" bean that takes a closure. This
simplifies the use of query beans for filterMany.
This change to the generated query beans needs a change to the
ebean-agent enhancement.
2023-08-18 22:12:30 +12:00
Rob Bygrave
eb0812df16
Bump to next snapshot
2023-08-17 23:26:26 +12:00
Rob Bygrave
9ccaa824e0
Version 13.21.0
2023-08-17 22:51:00 +12:00
robin.bygrave
bab9be0228
Change Lists.partition() argument order to match Guava's
...
- May as well match what they have in terms of arg order
- Change from interface to class might be better
2023-08-17 15:36:03 +12:00
Rob Bygrave
bcc4034371
Add Lists.partition() helper method and use in DefaultPersister batch deletion
2023-08-16 17:39:10 +12:00
Rob Bygrave
ec0c00eb72
Add Query alsoIf() to conditionally apply changes to a query
2023-08-15 21:56:50 +12:00
Rob Bygrave and GitHub
222c49c59b
Merge pull request #3130 from ebean-orm/feature/3123-root-error-suppressed
...
#3123 Root cause error can be suppressed on initialisation
2023-07-05 23:47:11 +12:00
Rob Bygrave
ffc21daaba
Bump to next snapshot
2023-07-05 23:28:49 +12:00
Rob Bygrave
f9adcb2c5a
#3123 Root cause error can be suppressed on initialisation
2023-07-05 23:16:00 +12:00
Rob Bygrave
d051bba71f
Version 13.20.1
2023-07-04 12:05:30 +12:00
Rob Bygrave
f414f04033
Add note on lack of support for InTuples with SQLServer and DB2
2023-07-04 12:05:10 +12:00
Rob Bygrave and GitHub
bb02d74005
Merge pull request #3125 from ebean-orm/feature/query-usingMaster
...
Add query.usingMaster() to explicitly choose master data source
2023-07-03 22:48:47 +12:00
Rob Bygrave
79ed0a5f8e
#3126 - Incorrect complex indexes generation
2023-07-03 22:19:38 +12:00
Rob Bygrave
c4af1d9b23
Add query.usingMaster() to explicitly choose master data source
...
When we have a read replica with potential for replication lag, and config a read only DataSource to use that read replica, by default a query executed without a current transaction will use the read replica.
We specify usingMaster() when we explicitly want to execute a query and use the master data source.
2023-07-03 16:41:22 +12:00
Rob Bygrave
8209d9e229
Add SpiInTuples to hide more details from InTuples
2023-07-03 12:41:31 +12:00
Rob Bygrave
e952b555e0
Add InTuples expression for multi-column IN expression
2023-07-03 11:49:53 +12:00
Rob Bygrave
9a4b9d4bec
Bump to next snapshot version
2023-06-21 07:08:13 +12:00
Rob Bygrave
68a6e98292
Version 13.20.0
2023-06-20 20:35:04 +12:00
Roland Praml
994fb267ad
Merge branch 'master-upstream' into json-tests
2023-06-16 07:40:01 +02:00
robin.bygrave
c7f6c508a6
#3101 - Support JPA Indexes
2023-06-16 13:44:03 +12:00
Roland Praml
0dc4c6b11b
NEW: DbPlatformType supports fallback, when length exceeded (removed SqlServer workaround)
2023-06-14 17:18:06 +02:00
Rob Bygrave
462d30bbb7
Version 13.19.0
2023-06-07 17:56:19 +12:00
Rob Bygrave
e71be4e1b1
Deprecate order() methods on Query, ExpressionList - migrate to orderBy()
...
Unfortunately we have order() and orderBy() methods which do the
same thing. I have decided to deprecate the order() ones in
favour of the orderBy() methods so that ultimately we will end
up with less methods and I think orderBy() is the correct choice.
Apologies for the migration pain here.
2023-06-01 21:21:39 +12:00
Rob Bygrave
6a2d0c233a
No functional change, Expr internal reuse of factory() method
2023-06-01 20:56:13 +12:00