Gavin King
45af5c2f5a
oops, remove a debugging statement that I accidentally committed
2023-07-12 21:43:51 +02:00
Gavin King
69e0809bf4
new documentation chapter for @HQL, @SQL, and @Find methods
2023-07-12 21:41:24 +02:00
Gavin King
59fdc46254
HHH-16920 initial prototype support for Reactive in query/finder method generation
2023-07-11 16:30:47 +02:00
Gavin King
70a953e7a8
HHH-16633 completely rework validation for parameters of @HQL query methods
2023-07-11 00:21:19 +02:00
Gavin King
b1bdd74432
HHH-16633 support @IdClass in finder methods
2023-07-11 00:21:19 +02:00
Gavin King
10b17a6430
HHH-16633 unbreak support for @Embeddable Java records
2023-07-11 00:21:19 +02:00
Gavin King
c8c5d05330
remove incorrect comment
2023-07-10 15:00:18 +02:00
Gavin King
447fa30a89
HHH-16633 add CDI @Dependent annotation if in build path
2023-07-10 14:36:32 +02:00
Gavin King
24db891e84
HHH-16633 better Javadoc and @Nonnull annotations in generated source
2023-07-10 14:36:32 +02:00
Gavin King
02e395c96d
HHH-16633 correct handling of null values in criteria-based @Find methods
2023-07-10 14:36:32 +02:00
Gavin King
78843fb2a9
HHH-16633 allow the "session getter" method to not be a getter
...
add some Javadoc
2023-07-10 14:36:32 +02:00
Gavin King
99d8bf0832
improve Javadoc of org.hibernate.annotations.processing
2023-07-10 14:36:32 +02:00
Gavin King
605a732e05
HHH-16914 add support for EntityGraphs to NaturalIdLoadAccess and SimpleNaturalIdLoadAccess
2023-07-10 14:36:32 +02:00
Gavin King
d5c4e2673b
HHH-16695 fill in missing javadoc
2023-07-10 14:36:32 +02:00
Gavin King
cd75b0baf1
HHH-16633 minor cleanups
2023-07-10 14:36:32 +02:00
Gavin King
db4d529f60
HHH-16633 generate query methods from @NamedQuery annotations
2023-07-10 14:36:32 +02:00
Gavin King
16b433ebf1
HHH-16633 clean up
2023-07-10 14:36:32 +02:00
Gavin King
87a320615c
HHH-16695 make fetch profiles actually work for natural id loading
2023-07-10 14:36:32 +02:00
Gavin King
3dfa70a781
HHH-16633 use unwrap() in preference to typecasts
...
perhaps it would be better to preemptively unwrap the
EntityManager to Session, because this approach results
in raw query types (but we don't really care since we
already know it's sound)
2023-07-10 14:36:32 +02:00
Gavin King
9512077462
HHH-16633 fix an issue with the lifecycle of annotation processing
...
we could not see typesafe references to static strings we generate
2023-07-10 14:36:32 +02:00
Gavin King
a4d8580606
HHH-16633 fix for StatelessSession @Find methods
2023-07-10 14:36:32 +02:00
Gavin King
17ea1e28b9
HHH-16633 add ability to specify fetch profiles in @Find annotation
2023-07-10 14:36:32 +02:00
Gavin King
09f110254f
HHH-16695 add enableFetchProfile() to XxxxIdLoadAccess
2023-07-10 14:36:32 +02:00
Gavin King
2e351831f1
HHH-16695 add enableFetchProfile() to Query
2023-07-10 14:36:32 +02:00
Gavin King
2409e1a49b
HHH-16633 support for StatelessSession in query methods/DAOs
2023-07-08 20:42:05 +02:00
Gavin King
a36b683870
more misc cleanups to modelgen code
2023-07-08 20:42:05 +02:00
Gavin King
7d9fa4a536
HHH-16633 more info in two error messages
2023-07-08 20:42:05 +02:00
Gavin King
0c4439b731
copy some test entities from core tests to modelgen tests
2023-07-08 20:42:05 +02:00
Gavin King
294ec27885
HHH-16913 EntityGraph support for StatelessSession
2023-07-08 19:18:26 +02:00
Gavin King
6b7d5bae3d
HHH-16899 refinements to the CriteriaDefinition API
2023-07-08 18:06:21 +02:00
Gavin King
f3eb0ec770
HHH-16899 allow the CriteriaDefinition to modify an existing query
2023-07-08 18:06:21 +02:00
Gavin King
b4b2b295fc
HHH-16899 avoid capturing the Session in CriteriaDefinition [as suggested by Sanne]
2023-07-08 18:06:21 +02:00
Gavin King
2d92edd6bb
HHH-16899 add test for CriteriaDefinition
2023-07-08 18:06:21 +02:00
Gavin King
7db99d8661
add a link in some package-level javadoc
2023-07-08 18:06:21 +02:00
Gavin King
67ac383c26
HHH-16899 add CriteriaDefinition utility class
2023-07-08 18:06:21 +02:00
Gavin King
a440046556
HHH-16898 add JpaExpression.equalTo()
2023-07-08 18:06:21 +02:00
Gavin King
d7fd5bd78a
HHH-16633 add ability to generate @Find methods for @NaturalIds and arbitrary field lists
2023-07-07 22:44:07 +02:00
Gavin King
0c40711563
HHH-16633 add ability to generate @Find methods
2023-07-07 22:44:07 +02:00
Gavin King
3969c74963
HHH-16633 add DAO-style repository generation
2023-07-07 22:44:07 +02:00
Gavin King
d83f472e18
HHH-16909 expose slow queries via Statistics API
2023-07-07 13:25:00 +02:00
Gavin King
3e8e9dd219
new doc section on slow queries and SQL comments
2023-07-07 13:25:00 +02:00
Gavin King
33700597af
HHH-16909 make setting for slow query logging obey our naming conventions
2023-07-07 13:25:00 +02:00
Yoann Rodière
94b33e6198
HHH-16892 Fix LocalXmlResourceResolver not resolving some dtd URLs that use the https scheme
2023-07-07 13:06:02 +02:00
Dennis Katz
5aac28cb9e
HHH-16886 fixed by adding parenthesis
...
HHH-16886 fixed by adding parenthesis
HHH-16886 test added
HHH-16886 move test to query package and some fixes
2023-07-07 10:22:50 +02:00
Gavin King
677b9848a2
minor bug fixes and code cleanups to Metamodel Generator
2023-07-06 23:43:23 +02:00
Gavin King
84714ed585
more information about query methods and testing for first chapter of new doc
2023-07-06 22:58:46 +02:00
Jerome Prinet
772cd5e315
HHH-16896 Pass stubs location with a CommandLineArgumentProvider
2023-07-06 21:52:46 +02:00
Gavin King
135871dbd9
batch of minor improvements to the parser/SemanticQueryBuilder (typesafety)
2023-07-06 12:37:00 +02:00
Gavin
980bf4d8ab
restrict offset/fetch to be a Number in the Jpa/Sqm tree types
2023-07-06 10:47:17 +02:00
Gavin
98a83a082c
add lots @Override annotations and some generic type args in Jpa types
...
removed an unused and unimplemented interface
2023-07-06 10:47:17 +02:00