Skip to content

Commit

Permalink
Better documents the behavior of Length for non Strings in Clickhouse
Browse files Browse the repository at this point in the history
Fixes: OX-11731
  • Loading branch information
idlira committed Dec 11, 2024
1 parent b6dc760 commit 9b68a2b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/sirius/db/mixing/annotations/Length.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@

/**
* Specifies the column length, most probably of string (CHAR) columns.
* <p>
* This annotation has no effect on properties other than a string, except the columns
* definitions for Clickhouse, where the length is used also for other types, for example int,
* to define the int size to use.
*
* @see sirius.db.jdbc.schema.ClickhouseDatabaseDialect
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
Expand Down

0 comments on commit 9b68a2b

Please sign in to comment.