Commit Graph

11107 Commits

Author SHA1 Message Date
Yoann Rodière 0bd228a640 HHH-14921 Remove a few unused SQL generation methods in identifier generators
They are getting in the way of changes related to the default schema
2021-12-07 08:25:03 +01:00
Yoann Rodière af5afa988d HHH-14921 Clarify that org.hibernate.mapping.AuxiliaryDatabaseObject has been replaced with org.hibernate.boot.model.relational.AuxiliaryDatabaseObject 2021-12-07 08:25:03 +01:00
Yoann Rodière 9d3b3d1c8a HHH-14921 Clarify the ability of IdentifierGenerator to be configured and to register exportables 2021-12-07 08:25:03 +01:00
Christian Beikov 49d2fccbcb Fixup code formatting 2021-12-06 20:30:06 +01:00
jaehun.lee 696db95416 polishing 2021-12-06 20:30:06 +01:00
Christian Beikov 77776a6af1 HHH-14211 Switch to using oid for CLOB in PostgreSQL to avoid losing data after vacuumlo 2021-12-06 20:17:43 +01:00
Christian Beikov 9a9653689e Change branch name in GitHub actions workflow to 5.6 2021-12-06 18:57:42 +01:00
Neon Ngo fa8b78d345 HHH-14956 Fix link to MetadataBuilderContributor javadocs
- Under Appendix > Configurations > Bootstrap properties
  - hibernate.metadata_builder_contributor
2021-12-06 16:33:09 +00:00
Sanne Grinovero b8046d1a80 HHH-14938 Upgrade to MySQL Connector/J 8.0.27 2021-12-06 16:30:47 +00:00
Christian Beikov 2d871d64f2 HHH-14897 Allow ordering with nulls first/last in JPA Criteria 2021-12-06 16:49:20 +01:00
Jan Schatteman 69cd716e37
Revert deprecations on main (#4412)
* Revert "HHH-14857 - Deprecations in preparation for 6"

This reverts commit 91e29358be.

* Revert "HHH-14857 - Deprecations in preparation for 6"

This reverts commit e4b56b9271.
2021-12-02 22:06:01 +01:00
Marius Klein f604e8fa33 HHH-14937 SybaseASE15 supports schemas and catalogs 2021-11-23 11:28:01 +01:00
Yoann Rodière 35f374aac7 HHH-14936 Avoid NPE in JdbcConnectionContext's static init 2021-11-22 12:22:07 +01:00
nathan.xu c3631970a5 HHH-14927 fix other obvious defects in user guide 2021-11-17 10:52:56 +01:00
nathan.xu f54f6bdf4e HHH-14927 bump current hibernate version from 5.5 to 5.6 in user guide 2021-11-17 10:52:56 +01:00
Sanne Grinovero 1dc49271c1 HHH-14540 Maintain strict API backwards compatibility 2021-11-16 15:32:05 +00:00
Chris Cranford e155fc551e HHH-14540 Don't share session-scoped interceptors with temp session 2021-11-16 15:27:51 +00:00
Maciej Walkowiak 3845d2f97f Refer correct entity in "Composite identifiers with associations" section
Code sample uses `Book` entity instead of `PersonAddress`.
2021-11-16 08:47:03 +01:00
Björn Kautler fa3a364b79 Fix dead link in documentation 2021-11-16 08:46:07 +01:00
Ratul sharker b125d13ede HHH-14916 : test case written. 2021-11-15 13:43:37 +01:00
Ratul sharker 1a641695fa HHH-14916 : inside `renderFetches`, `renderJoins` called if the `fetch` is `instanceof` `Form` interface. 2021-11-15 13:43:37 +01:00
nathan.xu 76eeb6fb5e HHH-14926 fix ascii error in 'test-case-guide.adoc' 2021-11-15 13:19:07 +01:00
Christian Beikov e5a78f0ee5 Add test exclusion property handling to jakarta module 2021-11-11 14:14:44 +01:00
Yoann Rodière 2e1f7b5d89 HHH-14918 Test entity with composite ID containing an association to another entity which itself has a composite ID containing an association to another entity 2021-11-08 16:52:09 +01:00
Yoann Rodière ccd58ee499 HHH-14918 Always process components containing an ID copy as we would any other FK 2021-11-08 16:52:09 +01:00
Sanne Grinovero 6c53a9d1ab HHH-14903 The new getConfiguredJdbcBatchSize method optimisation should apply to StatelessSession as well 2021-11-01 10:28:11 +00:00
Hibernate-CI f9bc1a279a 5.6.2-SNAPSHOT 2021-10-27 11:13:33 +00:00
Hibernate-CI 2c3b3cb3d7 5.6.1.Final 2021-10-27 11:08:47 +00:00
Sanne Grinovero a2cbe10e07 HHH-14901 Refactor shared code into a single reused method 2021-10-27 11:58:10 +01:00
Sanne Grinovero cc7498cf3c HHH-14901 Introduce a new BatchBuilder implementation, suitable for immutable code deployments 2021-10-27 11:58:10 +01:00
Sanne Grinovero 7f71dca1ae HHH-14899 StaleObjectStateExceptionHandlingTest should expect a StaleStateException 2021-10-26 16:34:24 +01:00
Sanne Grinovero 634c257d93 HHH-14899 Rename test class to fix typo: StateObjectStateExceptionHandlingTest to StaleObjectStateExceptionHandlingTest 2021-10-26 16:34:24 +01:00
Sanne Grinovero 7ff73d178f HHH-14899 Inconsistent default value for STATEMENT_BATCH_SIZE 2021-10-26 16:34:24 +01:00
Sanne Grinovero 959dfea66f HHH-14899 Have SessionImpl override the default method getConfiguredJdbcBatchSize 2021-10-26 16:34:24 +01:00
Sanne Grinovero 5ad60c4b61 HHH-14900 No need in tests to shadow the jdbcBatchSize field of BatchBuilderImpl extensions 2021-10-26 16:34:24 +01:00
Sanne Grinovero aba67cfe6e HHH-14900 BatchBuilderImpl doesn't need to be Configurable 2021-10-26 16:34:24 +01:00
Sanne Grinovero 9ecd1799a0 HHH-14900 Since the BatchBuilderImpl Service is shared, mutable field jdbcBatchSize should be marked volatile 2021-10-26 16:34:24 +01:00
Sanne Grinovero 8a2869a09a HHH-14900 Remove dead logger 2021-10-26 16:34:24 +01:00
Steve Ebersole 91e29358be HHH-14857 - Deprecations in preparation for 6 2021-10-21 16:13:55 -05:00
Steve Ebersole 1fdd0a6df1 improve hibernate-core-jakarta build 2021-10-21 14:34:26 -05:00
Steve Ebersole 85cd748de5 improve hibernate-core-jakarta build 2021-10-21 14:15:57 -05:00
Steve Ebersole e4b56b9271 HHH-14857 - Deprecations in preparation for 6 2021-10-21 13:52:33 -05:00
Steve Ebersole 54ea27a4d5 improve hibernate-core-jakarta build 2021-10-21 12:25:49 -05:00
Higor Tavares 2f52c8024c remove the commented code 2021-10-20 10:37:14 +02:00
nathan.xu ead2447524 HHH-14891 update JTS package name in user guide (Hibernate Spatial BasicTypes table in 'Domain Model' chapter) 2021-10-20 10:05:11 +02:00
Sanne Grinovero 9dd6cd06c9 HHH-14882 StandardStack needs to support null entries 2021-10-18 13:11:46 +01:00
Sanne Grinovero ef3fe11ae6 HHH-14882 Minor implementation optimisations in internal StandardStack
The current StandardStack implementation is based on a LinkedList, which is well known to be a suboptimal choice; this should be switched to a lazily allocated ArrayDeque.
2021-10-18 13:11:46 +01:00
Sanne Grinovero 6008264711 HHH-14816 Optimise LockMode#fromExternalForm for common case 2021-10-18 12:19:44 +01:00
Sanne Grinovero 3bee3a1c79 HHH-14816 Minor refactoring of LockModeTypeHelper conversions 2021-10-18 12:19:44 +01:00
Dariush Moshiri 8e0f0b4123 HHH-14816 Can not set lock mode with QueryHint due to type case problem 2021-10-18 12:19:44 +01:00