Skip to content

Commit

Permalink
docs: update explanation about id
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Apr 29, 2023
1 parent 5b0b4d3 commit e5fc3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/src/main/asciidoc/chapters/mapping/annotations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public class Person {

==== @Id

This annotation defines which attribute is the entity's ID, or the Key in Key-Value databases. In such a case, the Value is the remaining information. It has a single attribute (like `@Column`) to define the native name. Unlike `@Column`, the default value is `_id`.
This annotation defines which attribute is the entity's ID, or the Key in Key-Value databases. Unlike `@Column`, the default value is `_id`.

[source,java]
----
Expand Down

0 comments on commit e5fc3ca

Please sign in to comment.