Yoann Rodière
9054f11b01
HHH-15634 Fix naming of LazyBasicFieldAccessTest/LazyBasicPropertyAccessTest
...
For some reason they were reversed.
2022-10-31 12:30:13 +01:00
Sanne Grinovero
5ea876832a
HHH-15616 Mitigate performance impact of entity enhancement on Klass's _secondary_super_cache
2022-10-28 12:06:13 +02:00
Andrea Boriero
bc5b72569c
HHH-15585 Add support for DB2 aliases for schema validation
2022-10-27 20:38:35 +02:00
Andrea Boriero
83e22ee304
HHH-15585 Add test for issue
2022-10-27 20:38:35 +02:00
Andrea Boriero
c6bfc29b42
HHH-15575 Make getter org.hibernate.criterion.SimpleExpression#getOp() public
2022-10-19 15:53:38 +01:00
Jan Schatteman
a2555cfbae
HHH-15561 - Fixed and added test for issue
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-10-14 17:36:39 +02:00
Andrea Boriero
b493b5166c
HHH-15554 Merge of an Entity with an immutable composite user type throws Exception
2022-10-04 12:17:55 +02:00
Andrea Boriero
c48d25fc52
HHH-15554 Add test for issue
2022-10-04 12:17:55 +02:00
Jan Schatteman
b275e660d0
HHH-15559/HHH-15257 - Add tests for issues
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-10-03 20:23:33 +02:00
Andrea Boriero
4eea3167b7
HHH-15045 + HHH-15235 onFlushDirty() invoked on parent entity in a @OneToOne relationship when no table columns are changed - PropertyAccessException on merging Bidirectional OneToOne with EmbeddedId - Reverted HHH-14216
2022-09-27 11:41:37 +01:00
Andrea Boriero
974201aa3d
HHH-15235 Add test for issue
2022-09-27 11:41:37 +01:00
Andrea Boriero
6e1b17c442
HHH-15045 Add test for issue
2022-09-27 11:41:37 +01:00
Andrea Boriero
d4b2af992a
HHH-15336 Deprecate SharedSessionContractImplementor#getTransactionStartTimestamp() and CacheTransactionSynchronization#getCurrentTransactionStartTimestamp()
2022-09-21 14:35:24 +01:00
Fabricio Gregorio
1987d699ed
HHH-15522 Implement a LazyInitializable interface that PersistentCollection and Envers collections extend or implement. Improve related tests.
2022-09-20 18:39:37 +02:00
Andrea Boriero
9bd8a9518c
HHH-15520 ValueGeneration on @OneToOne leads to boot error
2022-09-20 11:40:09 +02:00
Andrea Boriero
0720631d2e
HHH-15520 Add test for issue
2022-09-20 11:40:09 +02:00
Christian Beikov
a3a99d06ae
HHH-15523 Make use of SqlStringGenerationContext in MapBinder#getFromAndWhereFormula
2022-09-19 12:10:42 +02:00
Christian Beikov
11c1b38a76
HHH-15523 Test case showing schema is missing in map key subquery
2022-09-19 12:10:42 +02:00
Yoann Rodière
a67a08da7f
HHH-15508 Backport Session#getReference(Object)
2022-09-16 08:21:16 +02:00
Yoann Rodière
5d2c451ab5
HHH-15505 Test bytecode enhancement on entity whose field is defined both in mapped superclass and concrete entity
2022-09-16 08:19:53 +02:00
Yoann Rodière
58fe4a36fb
HHH-15505 Fix bytecode enhancement on entity whose field is defined both in mapped superclass and concrete entity
2022-09-16 08:19:53 +02:00
Andrea Boriero
1350c713a3
HHH-14943 byNaturalId API creates unparseable query (AND keyword instead of WHERE)
2022-09-15 11:18:51 +02:00
pb00067
d2af91ec52
HHH-14943 Add test for issue
2022-09-15 11:18:51 +02:00
Christian Beikov
4dc69d4b15
HHH-15216 Revert moving classes out of the internal package
2022-09-05 11:49:14 +02:00
Réda Housni Alaoui
146038c4c8
HHH-15216 Cannot change MetadataProvider implementation because JPAXMLOverriddenMetadataProvider is final and precisely expected by a cast operator
2022-09-01 08:11:31 +02:00
Ladislav Thon
52f39f8ba0
HHH-15466 Compatibility with Jandex 3.0.0
...
The only change in Jandex 3.0.0 relevant to Hibernate ORM is that
`Indexer.index()` used to return `ClassInfo`, but now returns `void`.
This is a breaking change, but Jandex 3.0.0 has a synthetic bridge
method with the old signature for binary compatibility -- except
it always return `null`. Therefore, with this commit, Hibernate ORM
simply ignores the return value completely, which makes it compatible
with Jandex 3.0.0 at runtime, even though it is still compiled against
Jandex 2.4. The code is also source-compatible with Jandex 3.0.0 if
that is ever needed.
2022-08-30 12:13:59 +01:00
Andrea Boriero
fd3ab8b7cf
HHH-15359 The entity returned by a merge doesn't contain @ManyToMany relation when the collection resides in @Embeddable
2022-08-25 12:31:32 +02:00
Andrea Boriero
2a0a61833c
HHH-15359 Add test for issue
2022-08-25 12:31:32 +02:00
KARGET
570969c81e
HHH-15454 correct get(alias, class) method in CriteriaQueryTupleTransformer
...
maybe the fix needs to be applied to NativeTupleImpl and TupleBuilderTransformer as well, but I do not have a testcase for that and do not know when they are used.
2022-08-23 17:20:25 +02:00
KARGET
4b41584580
HHH-15454 create test where metamodel for primitive type field is used in tuple query
2022-08-23 17:20:25 +02:00
Sanne Grinovero
067d3578cd
HHH-15100 Limitation of metamodel imports cache causes severe performance drops in large projects
2022-08-23 10:42:43 +01:00
Andrea Boriero
541ddb7a26
HHH-15440 @OneToOne and @OptimisticLock(excluded = true) not working correctly
2022-08-18 13:46:00 +02:00
Andrea Boriero
33362e8a6f
HHH-15440 Add test for issue
2022-08-18 13:46:00 +02:00
Andrea Boriero
1c5f1189b5
HHH-15425 Avoid creating an implicit join when the association has already an explicit one
2022-08-15 08:53:33 +02:00
Andrea Boriero
3b3ed8d5e2
HHH-15425 Add additional test
2022-08-15 08:53:33 +02:00
Andrea Boriero
51b22ec8a5
HHH-15425 Implemented Hibernate Criteria Projections.fk() and Restrictions.fkEq()
2022-08-10 18:21:22 +02:00
Andrea Boriero
f3422a3988
HHH-15425 org.hibernate.QueryException: could not resolve property is thrown when Hibernate criteria tries to select the id of an association annotated with @NotFound
2022-08-10 18:21:22 +02:00
Andrea Boriero
c35f5f5cdb
HHH-15425 Add test for issue
2022-08-10 18:21:22 +02:00
Sanne Grinovero
c53050c7c3
HHH-15322 Allow JNDI lookups using the osgi scheme
2022-07-06 22:38:49 +01:00
Andrea Boriero
6b4ac625e1
HHH-15218 @OptimisticLocking(DIRTY) leads to wrong query during delete of circular reference
2022-07-06 11:56:47 +01:00
Andrea Boriero
3f5b12c9e5
HHH-15218 Add test for issue
2022-07-06 11:56:47 +01:00
Christian Beikov
835374328f
Update hibernate-core/src/main/java/org/hibernate/loader/ColumnEntityAliases.java
2022-06-23 16:22:17 +02:00
Ryan Murphy
828a1921a7
HHH-7525 Reintroduce FailureExpected test case
2022-06-23 16:22:17 +02:00
Ryan Murphy
665004f16f
HHH-7525 For @Formula, use property name when there is no column name.
...
Also removes @FailureExpected from HHH-2225.
2022-06-23 16:22:17 +02:00
Christoph Dreis
a69ffc8b0a
HHH-15325 Avoid allocations from BitSet.stream() in AbstractEntityPersister
2022-06-15 10:07:04 +02:00
Andrea Boriero
4159a7b8dc
HHH-15281 INSERTs/UPDATEs no longer executed as JDBC Batch statements if hibernate.temp.use_jdbc_metadata_defaults is set to false
2022-05-25 15:13:31 +01:00
Andrea Boriero
54b98d0469
HHH-15281 Add test for issue
2022-05-25 15:13:31 +01:00
Sanne Grinovero
eb4a7a6608
HHH-15265 Adjust inconsistent package names in tests
2022-05-14 23:40:17 +01:00
Yoann Rodière
9a2e625f6c
HHH-15265 Take default catalog/schema into account when generating DDL comments
2022-05-14 23:40:17 +01:00
Yoann Rodière
24d23c4067
HHH-15265 Test that default catalog/schema are taken into account in generated DDL comments
2022-05-14 23:40:17 +01:00