Commit Graph

18923 Commits

Author SHA1 Message Date
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
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