Commit Graph

18048 Commits

Author SHA1 Message Date
Gavin King fbebc65f0a string names for JD static metamodel were not generated 2024-03-15 01:21:29 +01:00
Gavin King 0d132f749d HHH-17853 allow compound paths in Order objects
needed for Jakarta Data @OrderBy annotation
2024-03-14 23:41:42 +01:00
Gavin King 3e8b1b37be HHH-17851 fix three bugs in Jakarta Data impl
- overloaded lifecycle methods
- handling of delimited compound names
- some missing imports
2024-03-14 23:41:42 +01:00
Steve Ebersole f898de7e98 HHH-17850 - Add jacoco test coverage to the build 2024-03-14 15:00:56 -05:00
Philippe Marschall e6c106f527 HHH-17596 Use new Byte Buddy API
Update code to replace deprecated Byte Buddy code
with replacement.
2024-03-14 16:16:52 +01:00
Laurent SCHOELENS 6941ddd58c HHH-17579 fix classloader issues with JAXBContext since JDK11 2024-03-14 16:13:45 +01:00
Gavin King 557a4f16da HHH-17848 tolerate primary table name in @SqlXxxx annotations
just cleaning up a TODO I left behind a while ago
2024-03-14 14:30:52 +01:00
Sanne Grinovero 6c4aa400d4 Reorganize guards in SqlStatementLogger 2024-03-14 14:13:19 +01:00
Sanne Grinovero b20ba40467 Remove deprecated dead code 2024-03-14 14:13:19 +01:00
Sanne Grinovero d613c69863 Micro optimisations of StandardRowReader 2024-03-14 14:13:19 +01:00
Cedomir Igaly c958b429f2 HHH-17600 - Properly setting next index if ListIndexBase annotation is present 2024-03-14 13:36:13 +01:00
Cedomir Igaly 8e749cbf21 HHH-17600 - Changed test class to really test handling of ListIndexBase annotation 2024-03-14 13:36:13 +01:00
geonhee.lee 5f2342bc9e HHH-14810 @NotBlank and @NotEmpty were used, "NOT NULL" option wasn't add in generated DDL.
- add @NotEmpty, @NotBlank annotation on applyNotNull method in TypeSafeActivator
- add test case for checking NotNull DDL rule
- remote deprecated annotation on DDLTest
2024-03-14 13:29:09 +01:00
Jeff Maxwell d78140d521 HHH-17839 remove reference to org.hibernate.envers.using_modified_flag 2024-03-14 12:17:57 +01:00
Jan Schatteman edf77774e3 HHH-17671 - Fix issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-14 12:07:37 +01:00
Jan Schatteman 21d3ea4ea8 HHH-17671 - Add test for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-14 12:07:37 +01:00
Marco Belladelli 67f573a6bf HHH-17777 Enforce no alias on fetch joins when jpa compliance is enabled 2024-03-14 12:05:52 +01:00
Marco Belladelli 3ce10df785 HHH-17777 Reuse existing fetch-joins if requesting the same join type 2024-03-14 12:05:52 +01:00
Marco Belladelli b3955d7d75 HHH-17777 Add test for issue 2024-03-14 12:05:52 +01:00
marko-bekhta ed4910790e HHH-17823 Add FK to identifier in HQL parser 2024-03-14 12:00:00 +01:00
Gavin King e3076966c7 even more javadoc for Expectation 2024-03-13 23:07:34 +01:00
Gavin King d7ef693768 document new Expectation approach 2024-03-13 20:49:01 +01:00
Gavin King 9deb3ea6ae improve package-level doc of org.hibernate.jdbc 2024-03-13 20:38:13 +01:00
Gavin King bf1c37b722 HHH-15587 some enhancements and cleanups to Expectations stuff 2024-03-13 20:38:13 +01:00
Gavin King a1c26f54bf fix syntax error in HQL doc 2024-03-13 19:40:41 +01:00
Gavin King d95084a59a HHH-17833 turn two more warnings into exceptions 2024-03-13 19:40:41 +01:00
Gavin King 2f746f8004 cleanups (mostly formatting) around EntityBinder + friends 2024-03-13 19:40:41 +01:00
Gavin King 31b075a274 reallow @Table on single table subclass
as long as the table names agree

needed for the JPA TCK
2024-03-13 18:28:25 +01:00
Marco Belladelli f6fed506fc HHH-17711 Fix table reference join resolution for joined subtype 2024-03-13 09:59:05 -05:00
Marco Belladelli 83e844c1e8 HHH-17711 Add test for issue 2024-03-13 09:59:05 -05:00
Gavin King 2b8f363e7b HHH-15587 replace use of enums for specifying Expectations
use of class objects is simpler, more elegant, and more flexible
2024-03-13 12:49:49 +01:00
Gavin King 2451268f16 HHH-17773 more Javadoc for new pagination APIs 2024-03-12 23:43:45 +01:00
Gavin King 276a93e95e HHH-17773 review and improve API of Order class 2024-03-12 23:43:45 +01:00
Gavin King 237e339e2c improvements to HQL functions examples 2024-03-12 17:09:39 +01:00
Gavin King 6c5daedfd3 roll back a change, to make @sebersole's rebase easier
move IndexOrUniqueKeyNameSource back inside IndexBinder
2024-03-12 15:59:27 +01:00
Gavin King da9d2c2bf7 HHH-16985 use ImplicitNamingStrategy in a much more disciplined way
for generating constraint names
2024-03-12 15:59:27 +01:00
Gavin King 9c12ea8b11 HHH-17133 use ImplicitNamingStrategy for @NaturalId unique keys 2024-03-12 15:59:27 +01:00
Gavin King b75f173318 HHH-17836 use 'generated by default as identity' instead of 'serial'
on PostgreSQL
2024-03-11 17:15:08 +01:00
Christian Beikov 9110ad8160 Update TCK to 3.1.3 2024-03-11 13:57:11 +01:00
Gavin King 4eb4327a54 HHH-17825 fix npe for single-column @UniqueConstraint
Note that HHH-17132 already attempted to fix the reported
problem, but the fix introduced a new bug, and NPE.
2024-03-11 02:41:46 +01:00
Gavin King 53301b530d HHH-17833 change log warnings for invalid mappings to exceptions
finally decided to just put an end to this because it's bad and that's that
2024-03-11 00:13:41 +01:00
Gavin King 688bb8a222 introduce DiscriminatorOptionsBinder 2024-03-10 17:12:48 +01:00
Gavin King 76d7d4c3a8 split out FilterDefBinder 2024-03-10 16:01:07 +01:00
Gavin King 95ee026cb2 HHH-17831 make AttributeBinder work for collections and @Any
introduce BatchSizeBinder to prove it works
various cleanups in binders + mapping package
2024-03-10 13:41:54 +01:00
Gavin King 4a70a23212 fix typo 2024-03-10 09:57:34 +01:00
Gavin King 710d7acb6d HHH-9110 add test/example 2024-03-10 09:57:34 +01:00
Gavin King 17f1221db2 HHH-9110 make it easier to set ResultCheckType from TypeBinder
This was already possible, but not very comfortable when not also
setting custom SQL.
2024-03-10 09:57:34 +01:00
Gavin King 30b8cdeb84 more javadoc for pagination APIs 2024-03-09 21:13:14 +01:00
Gavin King ef16d42c65 allow collation names to be quoted 2024-03-09 20:32:25 +01:00
Gavin King 0e3791cb64 fix two very minor bugs in generated newlines 2024-03-09 19:58:08 +01:00