Rob Bygrave
70eb557929
Version 13.23.2-jakarta
2023-10-27 22:13:05 +13:00
Rob Bygrave
8f6a3c59d1
Bump io.avaje:junit and bytebuddy version to support JDK 22+
2023-10-25 21:58:19 +13:00
Rob Bygrave
84f0ef9fce
Use querybean-generator via provided scope rather than maven compiler plugin
...
This is because when releasing both jakarta and javax versions these
need to have their versions adjusted
2023-10-24 23:07:14 +13:00
Rob Bygrave
6f8805a6b3
Use querybean-generator via provided scope rather than maven compiler plugin
...
This is because when releasing both jakarta and javax versions these
need to have their versions adjusted
2023-10-24 22:17:28 +13:00
Rob Bygrave
0171c1afef
Version 13.23.1
2023-10-18 15:47:04 +13:00
Rob Bygrave
169d170247
Explicit annotation processors required with JDK 22
...
JDK 22 changes such that annotation processors are not found by default on
the classpath. As such they either need to be explicitly registered with
the compiler (e.g. maven-compiler-plugin) or use -proc:full
2023-10-16 21:54:32 +13:00
Rob Bygrave
d0ee42e0de
Include <compilerArgument>-proc:full</compilerArgument> for JDK 22 EA build
2023-10-16 20:32:41 +13:00
Rob Bygrave
0b2c016af2
Version 13.23.0
2023-10-10 22:46:30 +13:00
Rob Bygrave
b3a577e3f9
#3234 - Query Bean Generator Generates Non-Compilable Code When Entity Uses @Embeddable Inner Class For Primary Key Type
2023-10-09 22:03:02 +13:00
Rob Bygrave
395edb62bf
In version 13.22 if the entity definition is in a different package, the generated query bean cannot resolve the symbol erro
2023-10-09 21:10:56 +13: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
f03892a4bd
#3216 - Fix querybean generation for @Embedded beans (fix for 13.22.0 change)
...
Version 13.22.0 added a change to query bean generation that has an issue for
embedded beans. This fixes that issue.
2023-09-11 23:01:44 +12:00
Rob Bygrave
0842a3f3e2
Version 13.22.0
2023-08-30 22:17:31 +12:00
Rob Bygrave
febb018036
Update ebean-agent to 13.22.0
2023-08-27 21:59:34 +12:00
Rob Bygrave
01d89a01a5
Fix new test in QCustomerTest
2023-08-21 11:22:02 +12: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
3bf316af2b
Update Test QCustomerTest removing extra space character in the SQL
2023-08-19 10:17:00 +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
Rob Bygrave
ec0c00eb72
Add Query alsoIf() to conditionally apply changes to a query
2023-08-15 21:56:50 +12:00
Rob Bygrave
ffc21daaba
Bump to next snapshot
2023-07-05 23:28:49 +12:00
Rob Bygrave
d051bba71f
Version 13.20.1
2023-07-04 12:05:30 +12:00
Rob Bygrave
ac466ecd79
#3125 Add query.usingMaster() for query beans
2023-07-03 23:30:02 +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
Rob Bygrave
462d30bbb7
Version 13.19.0
2023-06-07 17:56:19 +12:00
Rob Bygrave
2929483b0d
Refactor ebean-core internal API - getters -> accessors
2023-06-01 22:05:53 +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
bac7cd1ee7
Remove deprecated Query Bean fetchAll() - migrate to fetch()
...
```java
/**
* Deprecated in favor of fetch().
*/
@Deprecated
public final R fetchAll() {
return fetch();
}
```
2023-06-01 20:48:13 +12:00
Rob Bygrave
430926c5a9
Remove deprecated Query setLoadBeanCache() - migrate to setBeanCacheMode()
...
Typically migrate to `.setBeanCacheMode(CacheMode.PUT)` or `.setBeanCacheMode(CacheMode.OFF)`
```java
/**
* Deprecated - migrate to use setBeanCacheMode(CacheMode.PUT) or other CacheMode.
* <p>
* When set to true all the beans from this query are loaded into the bean cache.
*/
@Deprecated
Query<T> setLoadBeanCache(boolean loadBeanCache);
```
2023-06-01 20:44:31 +12:00
Rob Bygrave
3a84695130
Version 13.18.0
2023-05-31 22:06:30 +12:00
Rob Bygrave
ed94edd96b
Bump to next snapshot version
2023-05-10 16:26:03 +12:00
Rob Bygrave
588527a5b9
Version 13.17.4
2023-05-10 00:34:53 +12:00
Rob Bygrave
7970ea39f3
Bump to next snapshot version
2023-05-08 17:11:24 +12:00
Rob Bygrave
5b91e671dd
Version 13.17.3
2023-05-01 14:51:33 +12:00
Rob Bygrave
e04f33aaf0
Bump to next snapshot version
2023-04-21 16:53:12 +12:00
Rob Bygrave
e4162a5b03
Version 13.17.2
2023-04-21 16:14:48 +12:00
Rob Bygrave
3960e1deb5
Bump test tile use to 13.17.1
2023-04-17 23:56:20 +12:00
Rob Bygrave
cbdbf6d2e0
Bump to next snapshot version
2023-04-17 23:51:58 +12:00
Rob Bygrave
548bf871a9
Version 13.17.1
2023-04-17 23:31:00 +12:00
Rob Bygrave
ecd27e145e
bump to next snapshot version
2023-04-06 17:07:52 +12:00
Rob Bygrave
5f6b4a7795
Version 13.17.0
2023-04-06 15:34:50 +12:00
Rob Bygrave and GitHub
d5838e3d64
Merge pull request #3009 from ebean-orm/build/13-16
...
Build 13.17.0
2023-04-06 14:09:53 +12:00
Rob Bygrave
8e864897bd
Bump to next snapshot version
2023-03-30 13:00:55 +13:00
Rob Bygrave
87b12cff93
Version 13.16.0
2023-03-29 22:48:06 +13:00
Rob Bygrave
79fd689e9a
Add support for raw SQL SubQuery expressions IN,EQ,NE,GT,GE,LT,LE,EXISTS,Not IN, Not EXISTS
...
For these expressions the SQL SubQuery is not parsed by ebean and
just used as is.
2023-03-24 22:38:52 +13:00
Rob Bygrave
ef6d1dbca3
Bump to next snapshot version
2023-03-23 01:12:10 +13:00