> i want define longtext and not varchar(75)(String) in the service.xml
> for the servicebuilder. O.k. it seems it is not possible???
>
- Locate the file
web-impl/classes/META-INF/ext-model-hints.xml- Locate the specific entity and field..
- Add the model hints to make the field larger/smaller, etc...
- Re-run servicebuilder
e.g.
1 <field name="description" type="String">
2 <hint-collection name="TEXTAREA" />
3 </field>
look in portal-impl.jar!/META-INF/portal-model-hints.xml for many
examples..
And yes, this file influences the tables/columns generated. So make sure
to rebuild after adjustment.
Please sign in to flag this as inappropriate.