persistence icon indicating copy to clipboard operation
persistence copied to clipboard

Results 227 persistence issues
Sort by recently updated
recently updated
newest added

The following methods are inexplicably missing from the Criteria API: * `CriteriaBuilder.treat(From, Class)` * `Subquery.correlate(From)` As a result, programmers have to use a sibling method with a wider type, causing...

It would be good if we were able to parameterize AttributeConverter instances and/or have access to property metadata within an AttributeConverter. This way we are able to reuse AttributeConverter code...

Priority: Major
Type: Improvement

Support use of `EntityResult` within `ConstructorResult` for result type mapping of native queries.

Priority: Major
Type: Improvement
RFE

Currently the only way to check whether a named query with a given name exists is calling EntityManager.createNamedQuery(…). Unfortunately the non-presence of a query is expressed by throwing an exception....

Priority: Major
Type: Improvement

This would be useful hook for creation and/or modification of named queries.

Priority: Major
Type: New Feature
RFE

The cache implementation for the second level cache currently has to be configured via vendor specific properties but the semantics of the Cache are already reflected in the interface javax.persistence.Cache....

Priority: Major
Type: New Feature
persistence
jpa
cache
configuration

JPMS introduced the concept of the module path in addition to the classpath but the spec currently strongly requires usage on the classpath in a way disallowing users to pass...

Spin off from #98: as of 2.1 definition of @NamedEntityGraph can be too verbose, see ie [https://github.com/javaee-samples/javaee7-samples/blob/master/jpa/entitygraph/src/main/java/org/javaee7/jpa/entitygraph/Movie.java](https://github.com/javaee-samples/javaee7-samples/blob/master/jpa/entitygraph/src/main/java/org/javaee7/jpa/entitygraph/Movie.java) It would be good to allow simplified form, ie: ``` @NamedEntityGraph( attributes =...

Priority: Major
Type: Improvement
candidate-for-4

Issue https://github.com/jakartaee/persistence/issues/107 proposes support for subqueries in the `select` clause. That's a good idea, but we could also allow subqueries in `from` and `join`.

candidate-for-4

At present I do the following to reload an entity such that all the fields in the entity graph provided are loaded ``` entityManager.detach(entity); final var entityType = entityManager.getMetamodel().entity(entity.getClass()); final...

candidate-for-4