I would like to limit the length of the column. If I modify the entity java file, by adding length attribute to the column, and amending the table creation script, next time when I use cuba studio to add additional fields, these changes I did (i. e. length attribute) get overwritten by the studio.
Another thing I noticed is, if I use custom data types, Entity Inspector doesn’t work anymore. This is the case even in the sample application cuba-sample-datatype. If I open Entity Inspector in Administration menu and try to create a new record I get the following error message
If I need these custom data type columns in almost all of my entities. If I do that I will loose the very convenient way to quickly insppect and amend records through entity inspector.
Could you please suggest, what would be the best way to deal that? Should I use some different approach to create a column which converts and displays it’s contents in uppercase?
Thank you very much.