Gavin King
1c46c0060f
HHH-17772 use new record types to impl static metamodel
2024-03-01 21:35:25 +01:00
Gavin King
9014182e3c
HHH-17772 improve the test
2024-03-01 21:35:25 +01:00
Gavin King
2beb85e695
HHH-17772 support for returning the argument from lifecycle methods
2024-03-01 21:35:25 +01:00
Gavin King
ca12a4c874
tests for Jakarta Data
...
thanks @FroMage and others for giving me an example of how to do this
2024-03-01 20:16:37 +01:00
Gavin King
af285657db
add missing static imports to generated source
2024-03-01 19:21:26 +01:00
Gavin King
11fa929f20
minor code changes to generator
2024-03-01 19:21:26 +01:00
Stéphane Épardaud
6dfdbe197f
Make Panache tests run as part of regular tests
2024-03-01 18:24:07 +01:00
Christian Beikov
9e323963f0
Configure separate source directories for HR and ORM Quarkus Panache tests
2024-03-01 18:24:07 +01:00
Christian Beikov
1fe9c66fb4
Fix Gradle configuration issues
2024-03-01 18:24:07 +01:00
Stéphane Épardaud
85abce26f5
TestUtil: include entire diagnostic on failure
...
This way we get the line number
2024-03-01 18:24:07 +01:00
Stéphane Épardaud
7c453fb6b6
Start of tests
2024-03-01 18:24:07 +01:00
Stéphane Épardaud
b32296ff32
Auto-detect quarkus and default to dao with the proper session type
...
Unless there's a different session getter defined
2024-03-01 18:24:07 +01:00
Stéphane Épardaud
5b184caf9b
Make sure reactive update/delete return a Uni of Integer or Void
2024-03-01 18:24:07 +01:00
Stéphane Épardaud
06136ba5ec
Make sure ununi does not throw given a Uni<T>
2024-03-01 18:24:07 +01:00
Stéphane Épardaud
ed29057315
Support default session getters
...
In which case, we don't store the session in the DAO, we always call the getter
2024-03-01 18:24:07 +01:00
Stéphane Épardaud
1f3aed022c
Support ORM/HR+Panache
...
- Allow `@Find`/`@*QL` methods on `native` methods
- Look at session getters to find their session types, but never make
DAOs for Panache entities or repositories (we want generated static methods)
2024-03-01 18:24:07 +01:00
Stéphane Épardaud
36c9ce9d20
Support sessions of type Uni<Mutiny.Session>
2024-03-01 18:24:07 +01:00
Gavin King
3ca494be79
HHH-17772 allow array as return type for @Find methods
...
add tests
2024-03-01 12:22:08 +01:00
Gavin King
7ad39a86e9
HHH-17772 allow array as return type for @Find methods
...
as required by Jakarta Data
2024-03-01 12:22:08 +01:00
Gavin King
25d0899f28
HHH-17772 new approach to PU injection in Quarkus
...
as discussed with @FroMage
2024-03-01 11:07:39 +01:00
Gavin King
5d2527383e
HHH-17772 cleanup after sorting rework
2024-02-29 20:42:52 +01:00
Gavin King
7f4f760ac8
HHH-17772 cleanup disabled code
2024-02-29 20:42:52 +01:00
Gavin King
faec7c1a67
HHH-17772 redesign + unify handling of sorting
2024-02-29 20:42:52 +01:00
Gavin King
4ce2d317e5
HHH-17772 support Jakarta Data Page and Slice as return types
2024-02-29 13:16:47 +01:00
Gavin King
c020c97d8d
HHH-17779 update Javadoc
2024-02-29 10:42:17 +01:00
Gavin King
4fe6dad95b
HHH-17772 support KeysetAwarePage from Jakarta Data
...
+ fix some bugs
2024-02-29 07:53:57 +01:00
Gavin King
9e5ce60ac1
HHH-17772 support KeysetAwareSlice from Jakarta Data
...
significant refactoring
2024-02-29 01:31:49 +01:00
Marco Belladelli
6f00449af1
HHH-17726 Cleanup java types missing same type in wrap/unwrap
2024-02-28 16:32:08 +01:00
Marco Belladelli
7f51c13fcf
HHH-17726 Add test for issue
2024-02-28 16:32:08 +01:00
Gavin King
5d498c1063
HHH-17779 previous-page nativation for key-based pagination
2024-02-28 13:49:54 +01:00
Gavin King
1eff3c990b
HHH-17779 misc improvements to key-based pagination
2024-02-28 13:49:54 +01:00
Gavin King
ecb88be84a
improve jdoc of an exception
2024-02-28 13:49:54 +01:00
datazuul
84bd2ec706
HHH-17275: Fix NPE in BooleanJavaType for converter returning NULL for relational value
2024-02-28 13:33:10 +01:00
Gavin King
128859c3c8
HHH-17779 test new key-based pagination API generator
2024-02-27 22:11:48 +01:00
Gavin King
8c9e4f68bf
HHH-17779 support new key-based pagination API in generator
2024-02-27 22:11:48 +01:00
Gavin King
711feda338
HHH-17779 add some jdoc
2024-02-27 22:11:48 +01:00
Gavin King
f34e7fa91c
HHH-17779 support for key-based pagination
...
basic tests
2024-02-27 22:11:48 +01:00
Gavin King
920377ccfc
HHH-17779 support for key-based pagination
...
lots of fixes / improvements
2024-02-27 22:11:48 +01:00
Gavin King
483279c748
HHH-17779 support for key-based pagination
...
fixe compilation error in tests
2024-02-27 22:11:48 +01:00
Gavin King
842a6d02f6
HHH-17779 support for key-based pagination
...
fixes
2024-02-27 22:11:48 +01:00
Gavin King
8421d1c8d1
HHH-17779 support for key-based pagination
...
minor code cleanup
2024-02-27 22:11:48 +01:00
Gavin King
dbd15fd690
HHH-17779 support for key-based pagination
...
change the API slightly
2024-02-27 22:11:48 +01:00
Gavin King
b9e01fec4f
HHH-17779 support for key-based pagination
2024-02-27 22:11:48 +01:00
Gavin King
5af80551ad
HHH-17779 support for key-based pagination
2024-02-27 22:11:48 +01:00
Gavin King
32bd334298
fix the broken syntax of an @implNote
2024-02-27 22:11:48 +01:00
Gavin King
4fbcfbdaba
HHH-17779 support for key-based pagination
2024-02-27 22:11:48 +01:00
Gavin King
2f4a6ebcaf
slight improvement to two error messages
2024-02-27 19:47:17 +01:00
Marco Belladelli
fb4580cb6e
HHH-17750 Handle bytecode-enhanced proxies in context identifier
2024-02-27 15:23:39 +01:00
marko-bekhta
2c3909470b
HHH-17750 Add a reproducer
2024-02-27 15:23:39 +01:00
Christian Beikov
7713a074af
Also exclude Jakarta Data tests from Java 17+ runs
2024-02-27 09:56:36 +01:00