Login  Register

extend-entity field default value

Posted by jshultis on Jan 05, 2012; 1:28am
URL: http://ofbiz.116.s1.nabble.com/extend-entity-field-default-value-tp4263738.html

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