I have this entity
@Entity
@Table(name = "foo")
class Foo(
@Column(name = "bar_ids", columnDefinition = "uuid[]")
val barIds: Array<UUID>,
) {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long = 0
}
which gives me
‘Basic’ attribute type should not be ‘UUID[]’
How to define an array datatype?