Hi, I have a pretty straight forward use case wher...
# announcements
n
Hi, I have a pretty straight forward use case where I'd like to handle some very basic validation by a Delegate. The problem I'm having is the properties I'd like delegate are fields of an
Entity
, so using hibernate's
@Column(...)
annotation doesn't work. Something like this:
Copy code
@Column(nullable = false,  length = 55)
var example: String by NonEmptyString("EXAMPLE")
Is there an alternative way of specifying the hibernate annotation or am I better off doing something else? Thanks!