11529 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Marco Belladelli
971d673e88 HHH-17763 Run test only on H2 2024-03-08 12:42:35 +01: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
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
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
jeonjonghyeok
d21ddf31e5 HHH-17797 support query hint database indexes 2024-03-05 10:53:58 +01:00
Gavin King
004158cc58 HHH-17804 add tests for 'null in ()' 2024-03-05 10:34:20 +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