persistence icon indicating copy to clipboard operation
persistence copied to clipboard

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

The configuration properties `jakarta.persistence.database-product-name`, `jakarta.persistence.database-major-version`, and `jakarta.persistence.database-minor-version` are currently defined as part of the container/provider contract. But these properties are generally-useful as a way of configuring the persistence provider when...

candidate-for-4

Hibernate introduce `SelectionQuery.getResultCount()` since 6.5.0, It's useful for paged query, `Query` object can be reused for both data and count query. ```java Query query = entityManager.createQuery(queryString); query.setFirstResult(10); query.setMaxResults(10); result.setTotal(query.getResultCount()); //...

candidate-for-4

I found there only provides a `managedClass(Class class)` method in the [`PersistenceConfiguration`](https://github.com/jakartaee/persistence/blob/master/api/src/main/java/jakarta/persistence/PersistenceConfiguration.java), but does not provides methods to add a collection of classes. eg. ```java PersistenceConfiguration managedClasses(Class classes...) PersistenceConfiguration managedClasses(Collection...

Currently there are two ways to customize the column type mapped by a field: 1. using an `AttributeConverter`, or 2. using `@Column(columnDefinition)`. An `AttributeConverter` works very well for basic types,...

candidate-for-4

It seems both [Hibernate](https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#hql-implicit-join) and Eclipselink support implicit join, It's better to lift it as standard with JPQL and `CriteriaQuery`.

At the moment, the TCK requires a local download and install of Maven to run. Would be better to offer the [Maven Wrapper](https://maven.apache.org/wrapper/)

We should allow: ```java @Nonnull String name; ``` as an alternative to: ```java @Basic(optional = false) String name; ``` and similarly for `@ManyToOne` and `@OneToOne`.

candidate-for-4

Currently the Jakarta EE container can only get hold of the `ClassTransformer` for a persistence provider *after* the persistence unit has been started. The provider has to call `PersistenceUnitInfo.addTransformer()`. This...

candidate-for-4

Supersede https://github.com/jakartaee/persistence/issues/600

Currently both `com.sun.ts.tests.jpa.core.inheritance.abstractentity.FullTimeEmployee` and `com.sun.ts.tests.jpa.core.inheritance.abstractentity.Employee` have the annotation `@Table` with the same contents, though `FullTimeEmployee` extends `Employee`. The annotation on `FullTimeEmployee` is unnecessary, but triggers a new validation error in...

challenge
accepted