persistence icon indicating copy to clipboard operation
persistence copied to clipboard

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

I have a Entity hierarchy like this: ``` @MappedSuperclass @Data public class SomeEntityBase { @Id @GeneratedValue private Long id; @ElementCollection private Set tags; @Column private String name; } ``` ```...

`EntityGraph` and `Subgraph` share a lot of identical methods. Those methods could be declared on a (new) common interface extended by both EG and SG. ```java public interface Graph {...

I'm trying to use JPQL `SELECT NEW org.mydomain.WhatEverDto( SELECT my.expr1 AS identifier, my.expr2 AS identifier, ... )` syntax, that is `SELECT ... AS` in a constructor expression to later be...

Currently, the JPA spec only allows column names or paths (embeddables only) in the `ORDER BY` clause in JPQL expressions, but also for the `@OrderBy` annotation or XML element (more...

Hi community, I'm currently working on a TCK failure in Apache TomEE. com.sun.ts.tests.jpa.core.enums.Client#setgetFlushModeEntityManagerTest_from_stateless3 This particular method https://github.com/eclipse-ee4j/jakartaee-tck/blob/master/src/com/sun/ts/tests/jpa/core/enums/Client.java#L955 In essence, it gets an entity manager from the container. It's a Stateless...

We want to map an id attribute to an immutable type. ```java class FooId implements Serializable { private final int value; private FooId(int value) { this.value = value; } public...

@AttributeOverride allow to override database column to reference a new column but does not allow type transformation that might be applied with @Convert for instance. My [StackOverflow question](https://stackoverflow.com/questions/63919475/attributeoverride-mappedsuperclass-attribute-with-a-different-type) provides a...

New annotation "@CurrentTimestamp" should inject the current timestamp of a transaction into a data field. The annotation will guarantee that at the transaction start the timestamp is produced once, so...

Priority: Major
Type: Sub-task

The JPA 2.1 specification currently indicates that Timestamp is the only supported temporal type for @Version properties: > The following types are supported for version properties: int, Integer, short, Short,...

Type: Improvement
Priority: Minor

Support for the sql WITH clause is missing from JPA. It would be great if the WITH clause is supported in both JPQL and the Criteria API. At the moment...