jakartaee / jakartaee/persistence

programming model for converters and listeners

Open
#1,149 0 comments 0 reactions 0 assignees View on GitHub
4.0.0
Dominant language
Java
Stars
268
Forks
78
Avg merge
1d 6h
Merged PRs (30d)
13

Description

The spec does not say that:

1. entity listener classes must be non-abstract, nor
2. whether they must be `public`.

It does say that they must have a public no-args constructor. I doubt this is even correct when they're instantiated via CDI.

Even worse, the spec does not say much at all about converters:

1. it doesn't mention they can't be abstract,
2. it doesn't say anything about constructors,
3. it doesn't mention anything about visibility.

We should clear all this up.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Persistence specification sections covering entity listeners, converters, constructors, visibility, and CDI instantiation. Compare the current rules for both types and document whether they may be abstract, required visibility, and constructor requirements; done means these questions are explicitly and consistently resolved in the specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.