persistence
persistence copied to clipboard
Especially in light of Records, should Jakarta Persistence relax the default constructor requirement for entities and embeddables? While I am not very supportive of broad use of Records as entities,...
So given the package change to `jakarta.persistence` I wonder if this is an opportunity to separate the mapping annotations: - from the rest of the API as a separate artifact?...
We should consider adding `jakarta.json.JsonValue` as a persistent capable type. As JSON is nothing more than formatted text, it easily maps to VARCHAR. This reduces the necessity for application developers...
Like Spring, add CDI decorations to provide injection for `EntityManager` and `EntityMangerFactory` for CDI SE and Servlet/CDI environment. * CDI SE, the application is bootstrapped by a CDI container, even...
Jakarta Persistence predates CDI, and uses its own annotations to inject the EntityManager and EntityManagerFactory. In order to make Jakarta EE more consistent, these should be directly injectable using CDI...
§4.9 of the specification explictly states: > SQL rules for the ordering of null values apply: that is, all null values must appear before all non-null values in the ordering...
This is a copied issue from https://bugs.eclipse.org/bugs/show_bug.cgi?id=522384 I had reported: I hope I'm at the right spot. The javax.persistence.Query should be enhanced with a generic to avoid dangerous casts. Some...
Right now, AttributeConverters can only be used for single-value types. They could be extended to use an @Embeddable type as a surrogate column type for composite types. Imagine the immutable...
fixes #372 Signed-off-by: Will Dazey
This approach isn't completely typesafe, but it's significantly less complex than a solution which is. Questions: - Do we want to buy into the extra complexity required to make this...