Gavin King
19023a491e
report error if parameter of @Find matches a collection
2024-03-05 20:58:32 +01:00
Gavin King
db1b3b3f40
HHH-17807 add test
2024-03-05 19:04:10 +01:00
Gavin King
5a7661be5c
HHH-17807 fix NPE in array argument validation
...
probably only occurs when the argument is a parameter
2024-03-05 19:04:10 +01:00
Gavin King
691a2d8109
HHH-17807 fix array-typed query method parameters
2024-03-05 19:04:10 +01:00
Christian Beikov
0f291a8d8d
HHH-17808 NPE when null vector is read with VectorJdbcType
2024-03-05 16:46:36 +01:00
jeonjonghyeok
d21ddf31e5
HHH-17797 support query hint database indexes
2024-03-05 10:53:58 +01:00
Marco Belladelli
096b667520
HHH-17805 Fix jpamodelgen quarkus/jd tests with jdk >= 17
2024-03-05 10:53:18 +01:00
Gavin King
004158cc58
HHH-17804 add tests for 'null in ()'
2024-03-05 10:34:20 +01:00
Jeff Maxwell
8309a08fa6
HHH-17794 Update CONTRIBUTING.md
...
Added reference to waiting for review status and fixed other issues.
2024-03-05 09:25:54 +01:00
Jeff Maxwell
f4d9bed845
HHH-17794 Updated CONTRIBUTING guide
...
Updated Jira Pull Request Handling and cleaned up some grammer issues.
2024-03-05 09:25:54 +01:00
Jan Schatteman
955b587eb7
HHH-17776 - Fix whitespace padding issues for literals in select expressions on Derby and HSQLDB
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-05 09:20:40 +01:00
Jan Schatteman
ee76f005aa
HHH-17776 - Add test and fix
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-05 09:20:40 +01:00
Joey Gao
0d67d64ff4
HHH-17789 fix the blob/clob/nclob not free caused hana memory issue
2024-03-05 09:19:49 +01:00
Gavin King
e7dea589ca
HHH-17804 treat 'null in ()' correctly
2024-03-05 08:39:37 +01:00
Gavin King
492e947b4c
enable test on HSQL and Derby
2024-03-04 22:30:01 +01:00
Gavin King
115ddffdbc
fix constraint name extraction and 'on constraint' on MySQL
2024-03-04 20:52:50 +01:00
Gavin King
a84ba5c8c9
fix some constraint name extractors, and improve matching of constraint name in 'on conflict on constraint'
...
add a test
2024-03-04 17:32:10 +01:00
Marco Belladelli
7aba13ee47
HHH-17763 Rely on action-specific `SchemaFilter` instances
...
Deprecated `ExecutionOptions#getSchemaFilter` which was always returning the default implementation (not filtering anything)
2024-03-04 17:14:18 +01:00
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