Commit Graph

13279 Commits

Author SHA1 Message Date
Gavin King e7acffef15 remove some legacy config properties
the following are gone:

hibernate.ejb.resource_scanner
hibernate.query.substitutions
hibernate.jdbc.sql_exception_converter
hibernate.native_exception_handling_51_compliance
hibernate.legacy_limit_handler
hibernate.jdbc.wrap_result_sets
2022-01-20 18:03:51 +01:00
Gavin King dded606259 use @value instead of @link for setting names in Javadoc 2022-01-20 17:42:26 +01:00
Gavin King 71f122d2e5 remove check for deprecated setting
I don't think we need to look for org.hibernate.ejb.HibernatePersistence anymore
2022-01-20 16:54:42 +01:00
Christian Beikov 7fa2fd0588 Small documentation and internal updates 2022-01-20 16:02:21 +01:00
Christian Beikov ffd72a7d60 Get rid of Type#dictatedSizes and Type#defaultSizes and move methods from Sized as default methods to UserType 2022-01-20 16:01:02 +01:00
Christian Beikov 5fcacce3b1 Replace some uses of Type#getSqlTypeCodes with BasicType#getJdbcType 2022-01-20 16:01:02 +01:00
Christian Beikov 445cedfec7 Cleanup the naming of JavaDescriptor and JavaTypeDescriptor to align with the new naming JavaType 2022-01-20 16:01:02 +01:00
Christian Beikov 895ac83537 Mark some classes as internal which should go away when transitioning to SqlAst based rendering 2022-01-20 16:01:02 +01:00
Andrea Boriero 4361790205 Fix ArrayIndexOutOfBoundsException for CollectionJoin#on(Predicate ...) 2022-01-20 14:57:15 +01:00
Gavin King e6a9220606 clean up very old Dialect javadoc
and squash a couple of warnings
2022-01-20 14:07:32 +01:00
Gavin King 019f87106a tests for @DialectOverride.Xxxx 2022-01-20 11:33:22 +01:00
Gavin King 8aa0665731 introduce the @DialectOverride annotation
for overriding certain mapping annotations that specify native SQL
2022-01-20 11:33:22 +01:00
Andrea Boriero a9ddebf643 HHH-15044 Revert HHH-14826 fix because the provided test was wrong 2022-01-20 11:25:27 +01:00
Steve Ebersole a05f167db6 minor work on migration-guide.adoc 2022-01-19 15:30:26 -06:00
Andrea Boriero a74d0b72be Fix converter issues 2022-01-19 19:56:04 +01:00
Christian Beikov 36d6760abf Fix missing commit which was causing dangling connection/tx 2022-01-19 17:03:42 +01:00
Christian Beikov 8783781f7c Add another TCK test for BigDecimal handling and fix parameter rendering for some Dbs 2022-01-19 17:03:42 +01:00
Andrea Boriero 1e07c4f85f Fix expression type for arithmetic operations 2022-01-19 17:03:42 +01:00
og151037 4775be3bb8 HHH-15042: add offset-clause usage for DB2zDialect 2022-01-19 15:25:57 +01:00
Yoann Rodière 227930b090 HHH-15022 Test deleting all entities of a given type in a table-per-class hierarchy with a default schema 2022-01-19 14:31:09 +01:00
Sanne Grinovero dd176727b2 HHH-15040 Upgrade to Hibernate Commons Annotations 6.0.0.CR1 2022-01-19 13:28:41 +00:00
Gavin King 6072564b93 improve javadoc for @Formula 2022-01-19 13:46:03 +01:00
Gavin King 101de70289 improve javadoc for @JoinFormula-related stuff 2022-01-19 13:33:25 +01:00
Gavin King 47c695bace remove unused imports 2022-01-19 13:14:55 +01:00
Christian Beikov 659bbc0167 Re-add accidently removed SkipDialects for ManyToOneWithFormulaTest 2022-01-19 12:24:17 +01:00
Steve Ebersole 9e3dc8d3e1 clean up remaining test suite failures 2022-01-18 17:49:55 -06:00
Steve Ebersole ba024c5475 clean up remaining test suite failures 2022-01-18 17:20:32 -06:00
Steve Ebersole 1dcdec9c15 clean up remaining test suite failures 2022-01-18 17:19:25 -06:00
Steve Ebersole 7437a96b12 clean up remaining test suite failures 2022-01-18 17:16:23 -06:00
Steve Ebersole e8d8b43bfd clean up remaining test suite failures 2022-01-18 16:06:47 -06:00
Steve Ebersole aefb3c3edc clean up remaining test suite failures 2022-01-18 15:56:24 -06:00
Steve Ebersole 1ad9133871 clean up remaining test suite failures 2022-01-18 14:10:34 -06:00
Christian Beikov 4e5a28deaa Add support for non-synthetic virtual model parts 2022-01-18 20:04:50 +01:00
Christian Beikov fb882f56f3 Finalize moving annotations tests and ensure columns are sorted also for collection keys properly 2022-01-18 20:04:50 +01:00
William Burns 1ede36212b HHH-15037 Criteria Update/Delete with vararg parameters throws NullPointerException 2022-01-18 19:41:41 +01:00
Steve Ebersole cfb98abf7a WrongClassException 2022-01-18 12:19:28 -06:00
Andrea Boriero 0ea5528250 Fix criteria mod failing on derby 2022-01-18 16:24:09 +01:00
Christian Beikov 181217ef1f Re-introduce the regex pattern for the format pattern check 2022-01-18 16:19:28 +01:00
Christian Beikov d0f6c3302c HHH-15035 Fix native query type discovery with h2 2.0.202+ with float(..) DDL type 2022-01-18 15:18:01 +01:00
Christian Beikov fb749b6b32 Adapt tests and skips for H2 2.0.202+ 2022-01-18 15:18:01 +01:00
Christian Beikov 6feb33f4e1 HHH-15009 Allow augmenting supported physical table types through dialect for H2 2.0.202+ support 2022-01-18 15:18:01 +01:00
Christian Beikov fe44411e60 HHH-15014 Fix subquery tuple rendering for H2 2.0.202+ 2022-01-18 15:18:01 +01:00
Christian Beikov ad43a625ae Allow skipping dialect versions even when using `@RequiresDialect` 2022-01-18 15:18:01 +01:00
Christian Beikov 0fb19fd4fb Get rid of column names that are problematic on H2 2.0.202+ 2022-01-18 15:18:01 +01:00
Christian Beikov c284315931 Add validation for format function and remove `aa` format as no database supports long/short AM/PM markers 2022-01-18 15:18:01 +01:00
Andrea Boriero b8fab567cc Fix CriteriaBuidler#locate() arguments order rendering 2022-01-18 13:10:24 +01:00
Andrea Boriero 370d9354fc Fix CriteriaBuidler#locate() arguments order rendering 2022-01-18 13:10:24 +01:00
Steve Ebersole 6f1ddc32dd fix NPE when selecting enum value 2022-01-17 20:40:00 -06:00
Gavin King 53d38262ba test showing selecting enum value causes NPE 2022-01-17 20:38:43 -06:00
Andrea Boriero 9e7a091d67 Fix CriteriaBuidler#locate() arguments order rendering 2022-01-17 18:39:01 +01:00