Hi,
Is it possible to add a hibernate validator or a custom validator to a specific column of a table using Jooq.
The entities are generated via CodeGen.
for ex.
Is it possible to annotate that field with Validator functions.
Consider a "Book" Table. "Title" is a property of the Book Table.
Title is supposed to have only safeHtml.
like e.g.
BookRecord.java
@SafeHtml
public String setTitle(final String title)
{
}
Is there a way to do this via some settings in Codegen xml or any other way. Looking for some direction regarding this.
Thanks.