Commit Graph

17864 Commits

Author SHA1 Message Date
Marco Belladelli f30ebfabac HHH-17763 Add test for issue 2024-03-04 17:14:18 +01:00
Philippe Marschall 1874b58185 HHH-17791 Support SNAPSHOT versions of H2
https://hibernate.atlassian.net/browse/HHH-17791
2024-03-04 15:10:07 +01:00
Marco Belladelli 2716202caf HHH-17800 Fix CockroachDB transaction error when forcing connection acquisition 2024-03-04 15:05:14 +01:00
Marco Belladelli 841e4bedc7 HHH-17769 Ignore query options limit when rendering cte definitions 2024-03-04 14:19:35 +01:00
Marco Belladelli e80329f962 HHH-17769 Add test for issue 2024-03-04 14:19:35 +01:00
Gavin King 0d7a7087ff document 'on conflict' in query language guide 2024-03-02 11:36:12 +01:00
Gavin King e02317f3d6 HHH-17795 fix an NPE and add a test for 'on conflict on constraint' 2024-03-02 11:36:12 +01:00
Gavin King 9b4e61c984 HHH-17778 add a stub for the old processor
as requested by @beikov
2024-03-01 22:58:59 +01:00
Gavin King 4bc4ffe056 HHH-17778 rename jpametamodelgen -> processor 2024-03-01 22:58:59 +01:00
Gavin King 7636d78feb HHH-17778 rename JPAMetaModelEntityProcessor -> HibernateProcessor 2024-03-01 22:58:59 +01:00
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