Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion documentation/src/main/asciidoc/introduction/Entities.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@ class Event {
}
----

The `@Array` annotation is optional, but it's important to limit the amount of storage space the database allocates to the `ARRAY` column.
The `@Array` annotation is optional--it lets us specify an upper bound on the length of the `ARRAY` column.
By writing `@Array(length=7)` here, we specified that DDL should be generated with the column type `TINYINT ARRAY[7]`.

Just for fun, we used an enumerated type in the code above, but the array element time may be almost any <<basic-type-list,basic type>>.
Expand Down
Loading