your type attribute controls this.
id-ne, id-long-ne,id-vlong-ne are the three fieldtypes that are
"isNotEmpty" in the OOTB fieldtype*.xml (ie fieldtypemysql.xml) file.
You are free to add additional fields for the fieldtype*.xml file for
the database you're using.
ofbizhome/framework/entity/fieldtype/fieldtype*.xml
--- Immi <
[hidden email]> wrote:
>
> <entity entity-name="ArchiveIndex"
> package-name="org.ofbiz.archive"
> title="ArchiveIndex Entity">
> <field name="id" type="id-num"></field>
> <field name="name" type="name"></field>
> <prim-key field="ariSeqnr"/>
> </entity>
>
> How can I make the field <name> a not nullable database field (like
> primary
> keys)??
>
> Regards
> Michael
> --
> View this message in context:
>
http://www.nabble.com/Not-null-entity-fields-tf3180536.html#a8825650> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>