Commit Graph

13963 Commits

Author SHA1 Message Date
Steve Ebersole acb1989138 HHH-15314 - Hibernate Gradle plugin is not working for Kotlin projects 2022-06-08 00:51:38 -05:00
Jan Schatteman fad9db67b0 Disable HibernateOrmPluginTest.testJpaMetamodelGenUpToDate() test for now (as was intended).
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-06-07 23:41:59 +02:00
Steve Ebersole 99a9078bbd release doc 2022-06-07 05:59:56 -05:00
Steve Ebersole 6ac624a84b HHH-15314 - Hibernate Gradle plugin is not working for Kotlin projects 2022-06-07 05:59:56 -05:00
Hibernate-CI 9b934f6fb0 Post-steps for release : `6.1.0.Final` 2022-06-07 09:12:37 +00:00
Hibernate-CI 3a0e9f1c61 Pre-steps for release : `6.1.0.Final` 2022-06-07 09:08:23 +00:00
Steve Ebersole 0adbf40c49 HHH-15316 - Session.createQuery() doesn't accept JpaCriteriaInsertSelect 2022-06-06 14:39:43 -05:00
Christian Beikov 341267b133 HHH-3356 Support for normal and lateral subquery in from clause 2022-06-04 19:07:43 +02:00
Jan Schatteman 4947af946a Add an optional getMinimumSupportedVersion() to Dialect, for validation purposes
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-06-03 18:54:50 +02:00
Steve Ebersole a488e1a269 minor doc fix-up 2022-05-31 06:31:55 -05:00
Christian Beikov b7dca12e70 HHH-15288 Switch to SMALLINT as recommended type for enums 2022-05-30 19:52:39 +02:00
Christian Beikov 497c09cddb HHH-10999 Remove configuration setting for configuring the JDBC type for arrays 2022-05-30 19:52:39 +02:00
Christian Beikov 45fc49314e HHH-10999 Add support for SQL array types mapped as Java arrays and collections 2022-05-30 19:52:39 +02:00
Karel Maesen 39d8fa0662
HHH-15294 cockroachdb fixes
* HHH-15294 Fix setting of untyped null values in CockroachDB dialect

Solution exactly same as in PostgresqlDialect

* HHH-15294 Change CockroachDB multitable mutation strategies to CTE

Align with the Postgresql strategy

* HHH-15294 Fix missing IdentityColumnSupport in CockroachDB Dialect

* HHH-15294 Skip test for CockRoachDB due to unsupported automatic type conversion

* HHH-15294 CockroachDB doesn't support value propagation
2022-05-27 16:22:06 +02:00
koisyu 3d893712e6 HHH-15300 - Lazy evaluation to statement.toString() when logging slow queries 2022-05-26 15:15:18 -05:00
Steve Ebersole 3635e4e935 build changes 2022-05-25 14:14:48 -05:00
Steve Ebersole 19f513dde2 HHH-15251 - Unified mapping XSD based on JPA 3.1
- more work on HbmXmlTransformer
2022-05-25 08:40:51 -05:00
Steve Ebersole 309edd9e32 HHH-15251 - Unified mapping XSD based on JPA 3.1
- more work on HbmXmlTransformer
2022-05-25 08:40:51 -05:00
Yoann Rodière 7b9931f106 Add missing entry to changelog 2022-05-25 10:59:42 +02:00
Steve Ebersole d5a23a61ea HHH-14063 - AccessType is not correctly propagated for embeddable mappings in element-collection
- tests
2022-05-24 14:42:05 -05:00
Steve Ebersole 4ddf6e39b5 HHH-15251 - Unified mapping XSD based on JPA 3.1
- more work on HbmXmlTransformer
2022-05-24 12:08:22 -05:00
Andrea Boriero 8f5c7881ff HHH-15281 INSERTs/UPDATEs no longer executed as JDBC Batch statements if hibernate.temp.use_jdbc_metadata_defaults is set to false 2022-05-24 14:58:27 +01:00
Andrea Boriero 11b8352f13 HHH-15281 Add test for issue 2022-05-24 14:58:27 +01:00
Andrea Boriero 30d896a19a HHH-15297 Invalid Automatic-Module-Name org.hibernate.orm.community-dialects 2022-05-24 14:42:07 +02:00
Steve Ebersole 9a26f2503b HHH-15276 - Introduce ConverterRegistration 2022-05-23 13:08:45 -05:00
Steve Ebersole 571d46bef8 HHH-15276 - Introduce ConverterRegistration 2022-05-23 13:08:45 -05:00
Christian Beikov d73a5cde38 Let test helper collect all annotation to produce a full union 2022-05-23 15:50:26 +02:00
Nathan Xu 087b9d83ff HHH-15010 - update Java type list for '@CreationTimestamp' and '@UpdateTimestamp' in user guide 2022-05-23 15:37:18 +02:00
Andrea Boriero 6409db767d HHH-15286 Query with a Composite Identifier (@IdClass) throws an exception 2022-05-23 15:05:39 +02:00
Andrea Boriero 00e8506a13 HHH-15286 Add test for issue 2022-05-23 15:05:39 +02:00
Christian Beikov cb93dc7876 HHH-15291 Fix translation issue with SqmCoalesce 2022-05-23 12:50:28 +02:00
Christian Beikov f2446e2ce5 Workaround XJC generation issue 2022-05-23 11:35:40 +02:00
Andrea Boriero 81d749e930 HHH-15279 NPE with Id on OneToOne referencing entity with multi-level EmbeddedId 2022-05-23 10:28:05 +02:00
Andrea Boriero 4066fe0445 HHH-15279 Add test for issue 2022-05-23 10:28:05 +02:00
Karel Maesen e05b99658f HHH-15293 BYTES column type in CockroachDB does not support a length specification 2022-05-23 10:19:42 +02:00
Nathan Xu 566a543d77 HHH-15292 escape html chars in JavaDoc 2022-05-23 10:15:04 +02:00
Andrea Boriero 5ba1193890 HHH-15283 - fix NPE for NamedNativeQuery + SqlResultSetMapping (columns) 2022-05-23 09:39:57 +02:00
Nathan Xu 583a36902c HHH-15283 - fix NPE for NamedNativeQuery + SqlResultSetMapping (columns) 2022-05-23 09:39:57 +02:00
Andrea Boriero e0f1a2ee13 HHH-15258 Fix test failure for HANA db 2022-05-23 09:36:10 +02:00
Steve Ebersole 26dbafb2b3 HHH-15251 - Unified mapping XSD based on JPA 3.1;
- `mapping-3.1.0.xsd`
   - JAXB model for `mapping-3.1.0.xsd`
   - Overriding caching (region, usage, include) via partial mapping document
   - Initial hbm.xml -> mapping.xml transformation support
   - Gradle task for performing transformations
2022-05-20 06:46:44 -05:00
Andrea Boriero b88094e70a HHH-15285 Calling getJavaType() of @ElementCollection with basic types returns wrong type 2022-05-19 18:47:54 +02:00
Andrea Boriero 192b591c51 HHH-15285 Add test for issue 2022-05-19 18:47:54 +02:00
Andrea Boriero 2af19a6278 HHH-15258 Orphan removal for OneToMany relations is broken when used with GenerationType.IDENTITY 2022-05-19 13:07:35 +02:00
Nathan Xu 1a94bcc4a2 HHH-15258 Add test for issue 2022-05-19 13:07:35 +02:00
Andrea Boriero e29884b764 HHH-15260 Criteria query is unable to determine TableReference when combining subquery with join 2022-05-19 12:18:58 +02:00
Thomas Heigl f0cb0e8f78 HHH-15260 Add test for issue 2022-05-19 12:18:58 +02:00
Andrea Boriero a12ca1f100 Copy only the content of the documentation staging directory 2022-05-19 12:15:02 +02:00
Andrea Boriero 298623d2cc MysqlDialect register localtimeLocaltimestamp functions 2022-05-19 10:46:13 +02:00
Andrea Boriero 1ae61b3388 HHH-15278 NPE when NULL is used in the projection 2022-05-19 10:46:13 +02:00
Andrea Boriero 3251d5e9d0 HHH-15278 Add test for issue 2022-05-19 10:46:13 +02:00