missed one

This commit is contained in:
Gavin 2023-05-10 15:53:48 +02:00 committed by Christian Beikov
parent 0ce1467bd9
commit d8001fbf7a
1 changed files with 2 additions and 1 deletions

View File

@ -1183,7 +1183,7 @@ Let's pause to remember the annotations we've met so far.
| `@Entity` | Declare an entity class | ✓ | `@Entity` | Declare an entity class | ✓
| `@MappedSuperclass` | Declare a non-entity class with mapped attributes inherited by an entity | ✓ | `@MappedSuperclass` | Declare a non-entity class with mapped attributes inherited by an entity | ✓
| `@Embeddable` | Declare an embeddable type | ✓ | `@Embeddable` | Declare an embeddable type | ✓
| `@Converter` | Register an `AttributeConverter` | ✓ | `@IdClass` | declare the identifier class for an entity with multiple `@Id` attributes | ✓
|=== |===
.Declaring basic attributes .Declaring basic attributes
@ -1206,6 +1206,7 @@ Let's pause to remember the annotations we've met so far.
|=== |===
| Annotation | Purpose | JPA-standard | Annotation | Purpose | JPA-standard
| `@Converter` | Register an `AttributeConverter` | ✓
| `@Convert` | Apply a converter to an attribute | ✓ | `@Convert` | Apply a converter to an attribute | ✓
| `@JavaType` | Explicitly specify an implementation of `JavaType` for a basic attribute | ✗ | `@JavaType` | Explicitly specify an implementation of `JavaType` for a basic attribute | ✗
| `@JdbcType` | Explicitly specify an implementation of `JdbcType` for a basic attribute | ✗ | `@JdbcType` | Explicitly specify an implementation of `JdbcType` for a basic attribute | ✗