Rob Bygrave
86768dfe4d
Touch application-test.properties
2022-01-26 21:57:41 +13:00
Rob Bygrave
a9dbc036e9
Support H2database 2.x
2022-01-25 21:28:09 +13:00
Rob Bygrave
b3ee982b64
Use @NonNullApi to explicitly reflect non-null return types and params by default
2021-10-20 15:45:20 +13:00
Rob Bygrave
a445557ec3
#2422 - Remove extraneous jsr 305 @Nonnull
2021-10-19 17:59:25 +13:00
Rob Bygrave
8ee67410f9
#2387 - Additionally support setIdIn(Collection<?> ids)
...
Add overloaded method taking Collection of id values.
2021-09-23 15:32:40 +12:00
Rob Bygrave and GitHub
0bf8c9eb64
Add module-info support via multi-version jar ( #2381 )
2021-09-21 14:37:51 +12:00
rbygrave
eae8bbac82
Junit5 bump - ebean-querybean
2021-09-06 18:05:11 +12:00
Rob Bygrave
12c5e9ea5d
#2344 - Rename Database.getDataSource() to dataSource() with deprecation
2021-09-02 22:48:09 +12:00
rbygrave
99acd6d64f
Tidy test only - static imports for QCustomerByteArrayTest
2021-09-02 17:28:04 +12:00
Ryszard Trojnacki
847ce5db88
Added PByteArray query bean type for byte[] column type.
2021-08-31 11:34:35 +02:00
rbygrave
9161e17476
#2318 - Refactor internals - final classes in querybean package
2021-08-17 21:39:57 +12:00
rbygrave
1642833fdb
Improve javadoc on TQRootBean and generated javadoc on query bean forFetchGroup() method
2021-07-22 18:56:02 +12:00
Robin Bygrave
9d54b264ad
#2219 - Compile error with ZonedDateTime and query beans - type argument java.time.ZonedDateTime is not within bounds of type-variable D
2021-04-19 17:04:57 +12:00
Vladimir Konkov
6d8a1c9398
Explicit locking method withLock() is unaccessible on query beans
2021-04-05 21:45:48 +03:00
Tobias
f9b55a06b8
Add bitwise operators to query beans
2021-03-31 12:53:06 +02:00
rob bygrave
5cb9b9b237
#2208 - When using fetchCache() with a single id / findOne ... doesn't hit L2 cache
...
Plus #2207 ENH: Query beans add support for nested FetchGroup
2021-03-29 23:21:07 +13:00
Rob Bygrave
2bb5a85bd6
ENH: Add Query findEach() with batch consumer
...
This is a variation of findEach() that makes it easy to have a batch consumer processing a large result in batches. For example, process in batches of 50 beans.
Note that the last batch consumed/processed will often have less than the batch size.
2021-03-10 00:18:35 +13:00
Ben Kempe
af4f70e3a7
add in(subQuery) support for query beans
2021-03-01 13:21:05 +01:00
robin
1a26cd717f
#2182 - Tidy javadoc - this may mean JDK 15 is required to generate javadoc
2021-03-01 23:40:06 +13:00
Robin Bygrave
6315edfc21
#2177 - findNative not mapping bean when schema specified in entity mapping
2021-03-01 22:08:17 +13:00
Rob Bygrave and GitHub
98a89156bf
Refactor query internals to reduce property parsing for partial select and fetch ( #2167 )
...
* Update test only - update TestBasicClobNoVer to use DB and AssertJ
* Refactor OrmQueryProperties internals to reduce raw property parsing
- Remove String properties
- Reduces parsing of properties via fetchProperties() selectProperties() methods
* No effective change - tidy pom.xml for ebean-querybean
* Refactor query internals adding fetchProperties() selectProperties()
- Adds SpiQueryFetch
- Used by query beans with Set<String> properties passed (effectively skipping any parsing)
2021-02-16 17:51:47 +13:00
rob bygrave
4c16b85e85
#2166 - Remove deprecated forUpdate(lockType) methods - migrate to withLock(lockType, waitType)
2021-02-14 10:52:18 +13:00
rob bygrave
8ecc407cb0
#2154 - Fix tests for QueryBeans: TargetEntity is not evaluated during bean generation resulting in bad query beans
2021-02-10 19:25:42 +13:00
Robin Bygrave
2672dff512
#2155 - QueryBeans: Change to use own @Generated with retention RUNTIME
2021-02-10 15:28:55 +13:00
Robin Bygrave
53aacabce7
#2154 - QueryBeans: TargetEntity is not evaluated during bean generation resulting in bad query beans
2021-02-10 15:10:03 +13:00
Robin Bygrave
ab9cdd8f5b
#2153 - QueryBeans: OneToMany Map property is handled as PScalar instead of TQAssocBean
2021-02-10 13:52:29 +13:00
Rob Bygrave and GitHub
c66875449b
Add Query.withLock(LockType) and withLock(LockType, LockWait) ( #2116 )
...
Add Query.withLock(LockType) and withLock(LockType, LockWait)
2020-12-01 21:31:53 +13:00
rob bygrave
5c34b0daa5
Add support for Postgres lock types (no key, share, key share) with FOR UPDATE
2020-11-24 23:36:54 +13:00
rob bygrave
0abcc9e06e
#2085 - Refactor promote getDataSource() and getReadOnlyDataSource() to Database from plugin.SpiServer interface
2020-10-20 12:08:21 +13:00
Snōwball and GitHub
bcc8040afe
Scalar type querybeans generics error ( #2082 )
...
* Add failing test case for generic querybeans
Types with generics arguments have not been processed correctly, they
will lose their generics. This is not critical in Java, as the language
has to be backwards compatible with Java 1.4, but will still become
highlighted as a warning in all common IDEs.
In Kotlin however, it's not a warning but a compile error.
* Fix problem with generics in scalar type arg
This fixes the issue introduced with ScalarType aware querybeans.
2020-10-16 09:57:32 +13:00
rob bygrave
a53168bd00
Add Automatic-Module-Name entries MANIFEST.MF
2020-10-12 16:21:29 +13:00
rob bygrave
fa4130ba8e
Fix travis testing for ebean-querybean module
2020-10-09 10:29:35 +13:00
rob bygrave
038db79737
#2069 - Add ebean-querybean, querybean-generator and kotlin-querybean-generator as modules
2020-10-09 00:02:09 +13:00