jakartaee / jakartaee/persistence

Standard way to control initial value of @Version

Open
#600 7 comments 1 reaction 0 assignees View on GitHub
candidate-for-4.1
Dominant language
Java
Stars
268
Forks
78
Avg merge
1d 6h
Merged PRs (30d)
13

Description

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 spec enforce it.
I'd like it starts from `1` because it's human readable then can be display in UI directly.

Contributor guide

Open the contributing guide

Research direction

Start by reading the @Version specification and comparing the initial-value behavior described for Hibernate and EclipseLink. The work is done when the specification clearly defines a consistent initial version value and the provider behavior can be assessed against that requirement.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.