Commit Graph

9218 Commits

Author SHA1 Message Date
Gavin 114a82d438 add some missing @since tags 2022-12-22 18:21:02 +01:00
Steve Ebersole b684ace7e6 migration-guide for 6.2 release 2022-12-22 10:30:00 -06:00
Christian Beikov 4901d2bb61 HHH-15464 Allow JdbcType to expose the type code to use for DDL 2022-12-22 17:25:13 +01:00
Christian Beikov a094d4c5d5 HHH-15463 Adjust JdbcType based on DDL capacity for varchar/varbinary like types 2022-12-22 17:25:13 +01:00
Gavin 66b86ad315 fix some whitespace in package-infos 2022-12-22 16:51:15 +01:00
Gavin 1cd183b999 minor javadoc clarifications 2022-12-22 15:45:28 +01:00
Steve Ebersole 748ebe8456 HHH-15924 - Remove the org.hibernate.metamodel.relational package 2022-12-22 08:17:50 -06:00
Marco Belladelli cbfba13143 HHH-15901 Check for null predicates in where clause 2022-12-22 14:54:31 +01:00
Marco Belladelli 845adf36b9 HHH-15901 Add test for issue 2022-12-22 14:54:31 +01:00
Gavin 0db6136c47 add some @see annotations to Length 2022-12-22 14:35:37 +01:00
Gavin 51f1e2f5bd HHH-15926 allow @Type and @CompositeType to be applied as meta-annotations
this was almost zero work, the implementation was already there
2022-12-22 14:12:20 +01:00
Gavin bc79368cd6 clean up OptimisticLockStyle enum 2022-12-22 14:09:52 +01:00
Gavin c754dfacdf method renamings and extract method refactorings
- couple of last-minute name changes in Generator stuff for consistency
- make logic in Coordinators easier to understand by extracting lots of
  little methods (there were some very long methods here)
- extract a couple of inner classes that didn't need to be
2022-12-22 14:09:52 +01:00
Yanming Zhou a49beafca4 HHH-15618 Add tests 2022-12-22 13:00:41 +01:00
Marco Belladelli 6e87b38aee HHH-15850 Check if escape character is null in QuerySplitter 2022-12-22 12:53:12 +01:00
Marco Belladelli 061fb1e59c HHH-15850 Add test for issue 2022-12-22 12:53:12 +01:00
Andrea Boriero ce2dc4720e Removed use of JdbcValuesSourceProcessingState#findInitializer() 2022-12-22 12:51:18 +01:00
Christian Beikov 50db219047 HHH-15899 Add @PartitionColumn annotation 2022-12-22 12:47:59 +01:00
Gavin fb840ef84f remove some obsolete and unused code and simplify GeneratedValuesProcessor 2022-12-22 02:22:07 +01:00
Gavin 39ffcc91f4 lots of package-info.java files! 2022-12-22 00:11:32 +01:00
Steve Ebersole 32cc739f39 HHH-15923 - Clean-up the org.hibernate.loader package
HHH-15799 - API/internal split for org.hibernate.cfg package

and some minor Javadoc work
2022-12-21 16:11:48 -06:00
Gavin d0a510896e add code example to javadoc 2022-12-21 17:51:23 +01:00
Gavin a9f34f0735 HHH-15868 add truncate() to HibernateCriteriaBuilder 2022-12-21 16:12:41 +01:00
Steve Ebersole 422b6a3947 HHH-15799 - API/internal split for org.hibernate.cfg package 2022-12-21 08:15:57 -06:00
Steve Ebersole 3f7dd8c23b HHH-15799 - API/internal split for org.hibernate.cfg package 2022-12-21 07:48:35 -06:00
Gavin 023e73cb46 promote trunc() / truncate() to the list of standard HQL functions
also support the single-argument form of round() for consistency
2022-12-21 14:25:35 +01:00
Gavin 46a4c5e8f0 fix spelling error 2022-12-21 14:17:30 +01:00
Marco Belladelli d862f2d52e HHH-15868 Fix db2's atan2 function requiring inverted argument order 2022-12-21 13:38:43 +01:00
Marco Belladelli d028213a74 HHH-15868 Add dialect feature checks to tests and small fixes 2022-12-21 13:38:43 +01:00
Marco Belladelli a027717d17 HHH-15868 Add incubating annotation to all new CriteriaBuilder methods 2022-12-21 13:38:43 +01:00
Marco Belladelli 2c2ea7163b HHH-15868 Added `crossJoin` methods and logic 2022-12-21 13:38:43 +01:00
Marco Belladelli 977587dd67 HHH-15868 Add more non-standard HQL functions to the HibernateCriteriaBuilder interface 2022-12-21 13:38:43 +01:00
Christian Beikov ba985518c7 HHH-15898 Add @Instantiator annotation to mark canonical constructor for embeddables 2022-12-21 12:43:15 +01:00
Christian Beikov e19727e454 HHH-15872 Fix some issues with UDT column ordering 2022-12-21 12:43:15 +01:00
Marco Belladelli 693d053deb HHH-15900 Fix trigger creation on PG10+HANA and check version in OracleDialect to support insert returning generated keys 2022-12-21 12:42:30 +01:00
Kacper Koniuszy 99186e1a37 HHH-15842 Convert simple foreign key values before binding 2022-12-21 12:22:11 +01:00
Kacper Koniuszy f9fd97fe28 HHH-15842 Add test for issue 2022-12-21 12:22:11 +01:00
Gavin f5f92b852a add tests for trunc() and date_trunc(), even though they're non-"standard"
see https://hibernate.atlassian.net/browse/HHH-15855
2022-12-21 02:26:05 +01:00
Gavin b704e3154e put stub PostgreSQL10Dialect back where it belongs 2022-12-21 02:26:05 +01:00
Gavin 64d0cf804a rename Generator subtypes to BeforeExecuteGenerator and OnExecuteGenerator
- and update javadocs
- add/improve doc of new Dialect methods
- add some missing @Override annotations
2022-12-21 00:15:25 +01:00
Gavin f3e31fe427 remove ancient limitation that allowed only one property as UK for 'select' id generator 2022-12-21 00:15:25 +01:00
Gavin King d30bf092aa Apply suggestions from code review
Co-authored-by: Steve Ebersole <steve@hibernate.org>
2022-12-20 22:36:33 +01:00
Gavin 72c2559d39 clean up obsolete imports and warning suppressions 2022-12-20 22:36:33 +01:00
Gavin 5089df2036 HHH-15912 adaptively choose the DDL type for ORDINAL enums based on the number of members
this amounts to a reversion of HHH-15288 for 99.99% of enums
2022-12-20 22:36:33 +01:00
Christian Beikov 7007bafe55 HHH-15872 Add ColumnOrderingStrategy SPI and handle record structs specially 2022-12-20 20:17:23 +01:00
Andrea Boriero 1f630e4a5d HHH-15805 Subquery with where condition on a column with columnDefinition results in wrong SQL grammer 2022-12-20 18:55:17 +01:00
Andrea Boriero 62b218d411 HHH-15805 Add test for issue 2022-12-20 18:55:17 +01:00
Georg Echterling 81d9707f61 HHH-15784 Fix primitive array as NaturalId. 2022-12-20 16:35:35 +01:00
Georg Echterling f13c69fb63 HHH-15784 Add test for primitive array as NaturalId. 2022-12-20 16:35:35 +01:00
Georg Echterling 5d93213ea3 HHH-15778 Fix Embeddable with FetchTiming.DELAYED 2022-12-20 13:53:46 +01:00