Spring Annotation not working in Kotlin
<p>Any have problem of annotation doesnt work in Kotlin? </p>

<pre><code>@Column(unique=true, nullable = false)
@Size(min = 1, max = 50)
var name: String = "",

@Size(max = 100)
var description: String = ""
</code></pre>

<p>I can save into database with empty string and the unique constraint also not working via the annotation. Anyone have similar issue before ? Kindly advise :)</p>