[forge-dev] Add means of defining constraint for Length on String

Robb Greathouse robb.greathouse at jboss.com
Fri Dec 28 17:17:45 EST 2012


Hi,

Was trying to change the length on String from the VarChar(255).  In Hibernate this can be done by specifying @Length(max=350) (for example.

However, there is no "constraint Length --onProperty xxx --max 350" available in Forge.  

Using "constraint Max" causes forge to have a conversion error when attempting to insert string data.

Robb Greathouse
Partner Enablement
Middleware Business Unit
JBoss, a Division of Red Hat
cellphone 505-507-4906



More information about the forge-dev mailing list