Commit Graph

6022 Commits

Author SHA1 Message Date
Yoann Rodière 67e09b1290 HHH-14922 Give precedence to default catalog/schema over implicit catalog/schema 2021-12-07 08:25:03 +01:00
Yoann Rodière 795d5cd4e9 HHH-14922 Delay applying the implicit catalog/schema until schema management tool or session factory creation
This is necessary if we want the default catalog/schema to take
precedence, since the default catalog/schema is applied late,
on schema management tool or session factory creation.
2021-12-07 08:25:03 +01:00
Yoann Rodière 9b47fcdfa8 HHH-14922 Test behavior when setting both implicit catalog/schema and default catalog/schema 2021-12-07 08:25:03 +01:00
Yoann Rodière 3071f58c21 HHH-14921 Test handling of default catalog and schema when not configured during metadata creation 2021-12-07 08:25:03 +01:00
Yoann Rodière 1ee0e2e338 HHH-14921 Test handling of default catalog and schema 2021-12-07 08:25:03 +01:00
Yoann Rodière a9f1ada94d HHH-14921 Delay determination of the default catalog/schema until schema management tool or session factory creation 2021-12-07 08:25:03 +01:00
Yoann Rodière 36b001221b HHH-14921 Always use SqlStringGenerationContext for generation of SQL strings involving table/sequence names 2021-12-07 08:25:03 +01:00
Yoann Rodière 5b83edfd49 HHH-14921 Delay generation of SQL strings by identifier generators until schema export or session factory creation 2021-12-07 08:25:03 +01:00
Yoann Rodière 9a14200ca2 HHH-14921 Remove unused method PersistentIdentifierGenerator#generatorKey 2021-12-07 08:25:03 +01:00
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 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
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
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
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
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 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
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
Yoann Rodière 8afce5b5ed HHH-14869 Fix CallbackRegistryImpl#registerCallbacks considering all given callbacks have the same type 2021-10-15 10:05:29 +02:00
Yoann Rodière 965f5bd925 HHH-14869 Extract JPA listener definitions when building metadata rather than when creating the SessionFactory 2021-10-15 10:05:29 +02:00
Yoann Rodière 97f75f2aeb HHH-14881 Test attribute converters provided through CDI and configured through orm.xml 2021-10-14 17:07:29 +02:00
Yoann Rodière 7cc0c8370b HHH-14881 Allow providing attribute converters through CDI when configured through orm.xml 2021-10-14 17:07:29 +02:00
Yoann Rodière fc636995c3 HHH-14880 orm.xml: Take into account <package> for <converter class="..."> 2021-10-14 15:22:40 +02:00
Andrea Boriero 5f6e53334c HHH-13766 Add test for issue 2021-10-12 13:47:09 +02:00