[OFBiz] Dev - persisting dynamic entity created with ModelEntity
David E. Jones
jonesde at ofbiz.org
Mon Aug 8 21:16:04 EDT 2005
No, it doesn't do anything like that, would be quite the performance
overhead...
You can use the methods in the DatabaseUtil class to do this, that is
where the chech/update database stuff is, and all the db maintenance
routines.
-David
On Aug 8, 2005, at 9:03 PM, Si Chen wrote:
> Meaning: do I need to do something to get the delegator to create
> the table after creating the ModelEntity, or does a .create()
> or .makeValue() cause it first to check the database and, if the
> table is not there, create it based on the ModelEntity as well?
>
> Si Chen wrote:
>
>
>
>
>> Hi.
>>
>> If I create a dynamic entity using the ModelEntity constructor,
>> how do I persist it in the database? Or, are they automatically
>> persisted?
>>
>> Thanks,
>>
>> Si
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at lists.ofbiz.org
>> http://lists.ofbiz.org/mailman/listinfo/dev
>>
>>
>>
>>
> _______________________________________________
> Dev mailing list
> Dev at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/dev
>
>
>
More information about the Dev
mailing list