Yoann Rodière
34278588ec
HHH-15022 Revert to the legacy behavior of not qualifying temporary ID tables with the default catalog/schema
2022-01-18 15:14:41 +01:00
Yoann Rodière
9dea484927
HHH-15022 Test deleting all entities of a given type in a table-per-class hierarchy with a default schema
2022-01-18 15:14:41 +01:00
Christian Beikov
ca2b8cb2f3
HHH-15032 Fix backwards incompatible SPI change that happened in 5.6.2 due to introducing SqlStringGenerationContext
2022-01-17 18:05:21 +01:00
Sanne Grinovero
30b0ad267e
HHH-15033 Restrict JNDI lookups to "java" scheme
2022-01-16 22:04:51 +00:00
Sanne Grinovero
157716095a
HHH-15002 Add integration test for the H2 Dialect change
2022-01-16 20:33:21 +00:00
Sanne Grinovero
7c67cf72d1
HHH-15018 OracleTypesHelper shouldn't log stacktraces when the Oracle JDBC driver isn't loadable
2022-01-10 17:08:29 +00:00
Filipe Roque
11552b3e93
HHH-15002 H2 supports 'true' and 'false' boolean literals
...
Cherry picked from 1706141ffc
2022-01-05 12:38:38 +01:00
Sanne Grinovero
8d1027f967
HHH-14935 Revert deprecation of org.hibernate.annotations.Type, TypeDef and TypeDefs
2021-12-15 20:33:38 +00:00
Ivaylo Mitrev
fc957ec91e
HHH-14948 - Reduce the size of the imports cache in the metamodel
...
We have agreed to mitigate a memory issue by introducing a hard-coded
(for the time being) cap on the imports cache in MetamodelImpl. This
would preserve the previously available performance improvement for
the majority of applications using Hibernate (which are expected to have
less than 1000 imports) while mitigating an unbounded memory consumption
issue for applications that exceed this limit when dynamically
generating queries with random entity aliases.
The commit also adds a not-so-beautiful test, which, however, is
beneficial considering the consequences of introduing a regression.
2021-12-09 15:13:21 +00:00
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