Skip to content

Commit

Permalink
Merge pull request #461 from jakartaee/update-jakarta-persistence-ann…
Browse files Browse the repository at this point in the history
…otation

Update  Jakarta Persistence Section annotation
  • Loading branch information
otaviojava authored Feb 21, 2024
2 parents 4c8b2c2 + b37001c commit 97b01dd
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions spec/src/main/asciidoc/portability.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,7 @@ All functionality defined by Jakarta Data must be supported when using relationa

==== Jakarta Persistence Annotations

Jakarta Data, when used in conjunction with a Jakarta Data provider that is backed by Jakarta Persistence, requires support for the `jakarta.persistence.Entity` annotation on entity classes and requires support for the following minimal set of Jakarta Persistence annotations for entity properties:

* `jakarta.persistence.Basic`
* `jakarta.persistence.Column`
* `jakarta.persistence.Convert`
* `jakarta.persistence.ElementCollection`
* `jakarta.persistence.Embedded`
* `jakarta.persistence.Enumerated`
* `jakarta.persistence.GeneratedValue`
* `jakarta.persistence.Id`
* `jakarta.persistence.Temporal`
* `jakarta.persistence.Version`

Jakarta Data providers might choose to offer additional functionality that is provided by Jakarta Persistence beyond what is stated in this section.
A Jakarta Data provider backed by Jakarta Persistence must allow the use of `jakarta.persistence.Entity` as an entity-defining annotation.

==== Built-In Repositories

Expand Down

0 comments on commit 97b01dd

Please sign in to comment.