ydb-platform / yoj-project

YDB ORM for Java (YOJ) is a lightweight ORM for immutable entities. It has native support for YDB and is battle-tested.
Apache License 2.0
13 stars 12 forks source link

main: test #67

Closed lavrukov closed 7 months ago

nvamelichev commented 7 months ago

Having a meta-annotation using @Column and the @Column itself brings undefined behavior, and only one annotation (the one that does not define the custom value converter) gets used here.

Merging annotations was considered when implementing meta-annotations, but it is also fragile and non-intuitive, so we just pick one annotation and go with it.

It is strongly recommended to only use one of the (meta-annotation, @Column annotation).