Entity Engine Config question

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

Entity Engine Config question

Rick F.
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
   
   
Reply | Threaded
Open this post in threaded view
|

Re: Entity Engine Config question

jonwimp
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

Reply | Threaded
Open this post in threaded view
|

Re: Entity Engine Config question

jonwimp
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
>
>