persistence
persistence copied to clipboard
Found a few more things to fix.
- [x] Organization Name ("Organization") and, if applicable, URL Eclipse Foundation - [x] Product Name, Version and download URL (if applicable) [EclipseLink 5.0.0-B02](https://repo1.maven.org/maven2/org/eclipse/persistence/eclipselink/5.0.0-B02/eclipselink-5.0.0-B02.zip) - [x] Specification Name, Version and download...
I would like to propose that we let people write: ```java record BookSummary(String title, String author) {} em.createQuery("select book.title, book.author.name from Book book", BookSummary.class).getResultList(); ``` instead of forcing them into...
...or establish new specification project for Jakarta EE wide Query Language(s), where the Data QL can be core, JPQL a RDBMS extension/superset and possibly another extension for NoSQL DBs
There is a [TCK test](https://github.com/jakartaee/platform-tck/blob/master/src/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client.java#L5211) that calls `FetchParent#fetch` for the same attribute multiple times, but with different join types. Recently in Hibernate ORM, we decided to forbid this sort of...
```java ParameterExpression parameter = criteriaBuilder.parameter(List.class, "list"); ``` is not type safe, We need add a *Super Type Token* like [TypeReference](https://github.com/FasterXML/jackson-core/blob/514d9c89b9abab426ed4057806e7a99f6c1f7a58/src/main/java/com/fasterxml/jackson/core/type/TypeReference.java) ```java ParameterExpression parameter = criteriaBuilder.parameter(new TypeReference{}, "list"); ```
Fixes https://github.com/jakartaee/persistence/issues/519
Test rely on version value assertion is failed when switch from Hibernate to EclipseLink, because Hibernate starts from `0` but EclipseLink starts from `1`, It would be nice if the...
I just noticed that JPA does not say what happens in the following circumstance: ```java @Entity class Super { @Id long id; String name; } ``` ```java @Entity class Sub...