extend-entity field default value

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

extend-entity field default value

jshultis
I need to add fields to the entity model and give them default values. The entity model schema doesn't include any way to specify a default value in the attlist.field attribute group, so apparently it can't be done there. Is there any way to set default values for new fields (columns), or do I have to resort to some kind of SQL kludge (a script to be run as a step in build/deploy, modifying ofbiz, or...? I can't be the first one with this problem.

- JCS