You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Richard Fleming <ri...@thebva.com> on 2007/05/19 15:35:00 UTC
Entity Engine Config question
Hi all-
The advanced framework video has left me a little fuzzy on this..
I have a seperate database computer that is used to find part numbers by model number.
Do all the tables in that database need to be modeled in the entity engine before a delegator can access them? (entitymodel.xml, entitygroup.xml etc.)
If so, will the entity engine automatically add timestamp fields or will we need to manual add those fields to the existing tables?
Rick
Re: Entity Engine Config question
Posted by Jonathon -- Improov <jo...@improov.com>.
Richard,
Sorry, missed these. Yes, you do need to model your data on your OFBiz instance.
I think the timestamp fields are created automatically. But if not, you could get your `ant
run-install' to create an empty table with the timestamp fields, then migrate your data into this
empty table. You could then set all the timestamp fields with a the current time to start off.
Jonathon
Jonathon -- Improov wrote:
> You can create a separate web application (within OFBiz) that uses a
> different delegator. This delegator can point to your other (external)
> database. Check out the web.xml file.
>
> Jonathon
>
> Richard Fleming wrote:
>> Hi all-
>> The advanced framework video has left me a little fuzzy on this..
>> I have a seperate database computer that is used to find part
>> numbers by model number. Do all the tables in that database need
>> to be modeled in the entity engine before a delegator can access them?
>> (entitymodel.xml, entitygroup.xml etc.)
>> If so, will the entity engine automatically add timestamp fields
>> or will we need to manual add those fields to the existing tables?
>> Rick
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> No virus found in this incoming message.
>> Checked by AVG Free Edition. Version: 7.5.467 / Virus Database:
>> 269.7.4/811 - Release Date: 5/18/2007 3:50 PM
>
>
Re: Entity Engine Config question
Posted by Jonathon -- Improov <jo...@improov.com>.
You can create a separate web application (within OFBiz) that uses a different delegator. This
delegator can point to your other (external) database. Check out the web.xml file.
Jonathon
Richard Fleming wrote:
> Hi all-
>
> The advanced framework video has left me a little fuzzy on this..
> I have a seperate database computer that is used to find part numbers by model number.
>
> Do all the tables in that database need to be modeled in the entity engine before a delegator can access them? (entitymodel.xml, entitygroup.xml etc.)
>
> If so, will the entity engine automatically add timestamp fields or will we need to manual add those fields to the existing tables?
>
> Rick
>
>
>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.7.4/811 - Release Date: 5/18/2007 3:50 PM