Commit Graph

18081 Commits

Author SHA1 Message Date
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
Gavin King c3bbd193c8 implement support for requestTotals() in processor
also fix up some newline handling
2024-03-09 17:49:35 +01:00
Gavin King 7773e28b2c update to latest JD snapshot build 2024-03-09 13:25:20 +01:00
Marco Belladelli 971d673e88 HHH-17763 Run test only on H2 2024-03-08 12:42:35 +01:00
Akshit97 feac98e43a HHH-17817 - Add option to Enable Byte Code Enhancement for specific classes 2024-03-07 12:13:38 -06:00
Marco Belladelli d475b59715 HHH-17806 Avoid joined + discriminator inheritance joins in more cases 2024-03-07 17:21:32 +01:00
Steve Ebersole ab01984807 HHH-17269 - Add hibernate.boot.allow_jdbc_metadata_access 2024-03-07 08:04:18 -06:00
Gavin King 39cd03d1a5 detect use of custom SQL with @DynamicInsert/@DynamicUpdate
and produce nice error
2024-03-07 14:56:59 +01:00
dependabot[bot] 2a2fea5d7b Bump com.gradle.common-custom-user-data-gradle-plugin
Bumps com.gradle.common-custom-user-data-gradle-plugin from 1.12.1 to 1.13.

---
updated-dependencies:
- dependency-name: com.gradle.common-custom-user-data-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 14:05:36 +01:00
Christian Beikov 01dff33c03 Allow specifying the TCK URL for Jenkins TCK runs 2024-03-07 14:05:11 +01:00
Christian Beikov 6653160d88 Switch from full to regular oracle images 2024-03-07 13:38:26 +01:00
Gavin King 5a36652b20 use e.printStackTrace(PrintWriter)
as suggested by @beikov
2024-03-07 12:52:53 +01:00
Marco Belladelli 18d88a4430 HHH-17638 Prevent reusing left joins for implicitly joined paths 2024-03-07 09:20:03 +01:00
Marco Belladelli 86dad3d702 HHH-17638 Add test for issue 2024-03-07 09:20:03 +01:00
Yoann Rodière f14000a7ca HHH-17813 Update SQL Server JDBC driver to 12.6.1 2024-03-06 14:39:34 +01:00
Gavin King f591ce1b36 allow compound paths in JD @By annotation 2024-03-06 08:13:16 +01:00
Gavin King ebd72f8470 handle generic-typed parameters of query methods 2024-03-05 20:58:32 +01:00
Gavin King 19023a491e report error if parameter of @Find matches a collection 2024-03-05 20:58:32 +01:00