persistence icon indicating copy to clipboard operation
persistence copied to clipboard

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

The param `startPosition` of `setFirstResult` is of int type ref : https://github.com/eclipse-ee4j/jpa-api/blob/21f02c809fae624d49aba5cd0578a30cbfa775a0/api/src/main/java/jakarta/persistence/Query.java#L156 which limits the use of it when paginating a table with a large amount of rows. Is it...

Hello, i have encountered one problem that it is not(?) possible to use the metamodel in an application which does not initialize the whole JPA stack. A call like: String...

Hello, My scenario is the following - I have a @MappedSuperclass which defines a field pk (which is generated value with a custom generic generator) but I also have an...

Priority: Major
Type: Bug
candidate-for-4

For embeddables, the current specification says > Embeddable classes must adhere to the requirements specified in Section 2.1 for entities with the exception that embeddable classes are not annotated as...

It would be nice to add 'hooks' to JPA in order to react on certain JPA events. E.g., for EclipseLink there's a [SessionEventListener](https://www.eclipse.org/eclipselink/api/2.7/org/eclipse/persistence/sessions/SessionEventListener.html#preCalculateUnitOfWorkChangeSet-org.eclipse.persistence.sessions.SessionEvent-) interface. It defines interesseting events/methods like `preCalculateUnitOfWorkChangeSet(SessionEvent)`,...

I created [a sample to experiment with the behaviour of Fetch Joins vs normal Joins in JPQL and Criteria API](https://github.com/schauder/jpa-hibernate-fetch-join-examples). The experiment uses Hibernate as the most popular JPA implementation....

### Without DISTINCT For a query like ```sql SELECT SUM(my_table.my_col) FROM -- ... ``` you can write the equivalent `CriteriaQuery` ```java // ... previously defined CriteriaBuilder builder, CriteriaQuery query, Root...

I repeatedly find myself annotating my JPA entities with the very same set of annotations: ``` @Entity @EntityListeners(AuditingEntityListener.class) class Person { } ``` If both @Entity and @EntityListener were allowed...

Priority: Major
Type: Improvement
JavaEE
metatypes
candidate-for-4

JPA 2.1 Section 3.10.12, "Named Parameters", does not explicitly require that the namespaces of type aliases and named parameters be distinct. Some implementations fail & some succeed on JPQL of...

Type: Improvement
Priority: Minor
jpql
jpa
parameter

javax.persistence.schema-generation.database.action=drop-and-create only drops the schema on undeploy/deploy. For rapid/agile/iterative development via IDEs, very frequently developers start and stop the app/server without necessarily triggering a deploy/undeploy cycle hence not performing a...

Priority: Major
Type: New Feature