hibernate-orm icon indicating copy to clipboard operation
hibernate-orm copied to clipboard

Hibernate's core Object/Relational Mapping functionality

Results 538 hibernate-orm issues
Sort by recently updated
recently updated
newest added

When using `@JavaType` in an `@Embeddable` annotaded class, a NPE occurs when the field is used as a query parameter. The `AbstractSqlAstTranslator` evaluates `getSqlTuple(comparisonPredicate.getRightHandExpression())` to null when a `SqmParameterInterpretation` with...

Same as https://github.com/hibernate/hibernate-orm/pull/9331 minus the unit test (because extra lazy maps are gone in Hibernate 7), to keep branches aligned ---------------------- By submitting this pull request, I confirm that my...

Test reproducing the issue: https://hibernate.atlassian.net/browse/HHH-18885 Putting a entity in an extra lazy map and committing the transaction results in a ClassCastException ---------------------- By submitting this pull request, I confirm that...

JIRA issue Test Case

[Please describe here what your change is about] ---------------------- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.txt) and...

Jira issue [HHH-19464](https://hibernate.atlassian.net/browse/HHH-19464) In `org.hibernate.type.descriptor.java.DataHelper#extractBytes(java.io.InputStream, long, int)` assumption that `java.io.InputStream#read(byte[])` reached EOF when number of bytes read is less than size of buffer is not correct. ---------------------- By submitting this...

Backport of https://github.com/hibernate/hibernate-orm/pull/10182 for 6.6. ---------------------- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.txt) and can be relicensed...

My understanding of the problem is that the query plan cache has some mechanisms to know if a cached query plan is invalid. Until now it handled two cases in...

https://hibernate.atlassian.net/browse/HHH-19065 ---------------------- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.txt) and can be relicensed under the terms of...

[HHH-19365](https://hibernate.atlassian.net/browse/HHH-19365?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ) GaussDB Dialect Support ---------------------- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.txt) and can be relicensed under...

This PR resolves an ID conflict in Hibernate's `CteInsertHandler` batch insert implementation when using sequence-based ID generation with the `PooledOptimizer`. The issue arises from a misalignment between the batch insert...