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

Reproducer that argument type is not properly resolvable from SqmFunction return type resolvers. Test fails with: ``` Unexpected type ==> expected: but was: Expected :org.hibernate.type.CustomType Actual :org.hibernate.metamodel.model.domain.internal.BasicTypeImpl ````

There is currently no way to do `` in annotations. This lets you write `@ManyToMany @JoinFormula="..."`. But I need to think hard about what the annotation should actually look like.

H2Dialect should extract constraint names from the error messages, such as: Unique index or primary key violation: "PUBLIC.ACCOUNTS_BY_USERNAME ON ... (In this case, it extracts "ACCOUNTS_BY_USERNAME")

Mitgations for Loadable, EntityPersister and EntityInitializer.

See Jira issue [HHH-18117](https://hibernate.atlassian.net/browse/HHH-18117) [HHH-18117]: https://hibernate.atlassian.net/browse/HHH-18117?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

See Jira issue [HHH-18106](https://hibernate.atlassian.net/browse/HHH-18106) When named query in entity method annotated with @CheckHQL contains valid Java constant, processor should not report error [HHH-18106]: https://hibernate.atlassian.net/browse/HHH-18106?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

https://hibernate.atlassian.net/browse/HHH-17738