persistence
persistence copied to clipboard
Hi! My understanding from https://stackoverflow.com/questions/25743191/how-to-add-a-case-insensitive-jpa-unique-constraint is that it is not possible to add a case insensitive uniqueness constraint in JPA. Is this correct? If so, can it be supported some...
In section 4.6.9, In Expressions, it should be specified that an empty collection_valued_input_parameter must not result in an exception. More specifically: the expression o.country IN (:countries) must be treated as...
`EntityTransaction` serves no purpose and has been effectively replaced by Jakarta Transactions, and specifically widely available standalone transaction managers. Should we deprecate `EntityTransaction` and remove it from the API at...
A feature that Hibernate has had for a very long time, but which has never made it into the JPA spec is `StatelessSession`. The idea of a stateless session is...
I propose adding the new members `comment` and `check` to the `@Table` and `@Column` annotations, allowing the program to customize generated DDL with a check constraint and/or comment.
This adds two new members to the `@XxxxTable` and `@XxxxColumn` annotations, both of which help generate high-quality DDL.
Adds the new method I proposed in this discussion: https://github.com/jakartaee/persistence/issues/298#issuecomment-736682475.
Allows `@IdClass and` `@Embeddable` types to be records.
Currently, setting the `CacheStoreMode` or `CacheRetrieveMode` requires the use of string typing, the `jakarta.persistence.cache.retrieveMode` or `jakarta.persistence.cache.storeMode` properties. This is obviously bad, and therefore: - We should add `setCacheStoreMode()` and `setCacheRetrieveMode()`...
Reviewing the spec, I'm wondering whether we should revise some restrictions on user code. ### `@Entity` classes An entity class must: - be toplevel - be non-`final` - have a...