-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EclipseLink disallows @Version attribute of type java.time.LocalDateTime #2343
Comments
Tomas-Kraus
added a commit
to Tomas-Kraus/eclipselink
that referenced
this issue
Jan 17, 2025
… type java.time.LocalDateTime Signed-off-by: Tomáš Kraus <[email protected]>
Tomas-Kraus
added a commit
to Tomas-Kraus/eclipselink
that referenced
this issue
Jan 17, 2025
Signed-off-by: Tomáš Kraus <[email protected]>
Yes, this was missing in EclipseLink. Fixed main branch to satisfy JPA 3.2 requirements for versions. |
Tomas-Kraus
added a commit
to Tomas-Kraus/eclipselink
that referenced
this issue
Jan 22, 2025
Signed-off-by: Tomáš Kraus <[email protected]>
Tomas-Kraus
added a commit
that referenced
this issue
Jan 22, 2025
…ime.LocalDateTime Signed-off-by: Tomáš Kraus <[email protected]>
Tomas-Kraus
added a commit
that referenced
this issue
Jan 22, 2025
Signed-off-by: Tomáš Kraus <[email protected]>
Tomas-Kraus
added a commit
that referenced
this issue
Jan 22, 2025
Signed-off-by: Tomáš Kraus <[email protected]>
Tomas-Kraus
added a commit
to Tomas-Kraus/eclipselink
that referenced
this issue
Jan 22, 2025
Signed-off-by: Tomáš Kraus <[email protected]>
Tomas-Kraus
added a commit
to Tomas-Kraus/eclipselink
that referenced
this issue
Jan 22, 2025
Signed-off-by: Tomáš Kraus <[email protected]>
Tomas-Kraus
added a commit
to Tomas-Kraus/eclipselink
that referenced
this issue
Jan 22, 2025
Signed-off-by: Tomáš Kraus <[email protected]>
rfelcman
pushed a commit
that referenced
this issue
Feb 4, 2025
…time.LocalDateTime - code refactoring (#2349) Signed-off-by: Tomáš Kraus <[email protected]>
rfelcman
added a commit
to rfelcman/eclipselink
that referenced
this issue
Feb 4, 2025
…f type java.time.LocalDateTime - code refactoring plus additional unit test Signed-off-by: Radek Felcman <[email protected]>
rfelcman
added a commit
to rfelcman/eclipselink
that referenced
this issue
Feb 4, 2025
…f type java.time.LocalDateTime - code refactoring plus additional unit test Signed-off-by: Radek Felcman <[email protected]>
rfelcman
added a commit
that referenced
this issue
Feb 4, 2025
…ime.LocalDateTime - code refactoring plus additional unit test (#2359) Signed-off-by: Radek Felcman <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Section 2.5 of the Jakarta Persistence 3.2 specification requires support for Version attributes that are of type
java.time.LocalDateTime,
However, when I try to use an entity,
it fails with,
Also, I just tried
@Version
on ajava.time.Instant
attribute and it is also rejected, so that needs to be fixed as well.Note that the error message doesn't indicate LocalDateTime or Instant as supported types, even though the Persistence 3.2 specification requires it.
The text was updated successfully, but these errors were encountered: