How do I set the default mapping of entity bean fields of type String to VARCHAR or TEXT
instead of VARCHAR(255) on PostgreSQL and MySQL databases?
I do not want an arbitrary 255 char limit to the length of a varchar string.
I read a post which suggested using an annotation to set the @Length to 256 or greater
which makes it use a text field, but I do not want to declare this on every string field.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962289#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...