Thanks. I just wondering can we just add new table/new column directly using
TOAD. 
What are the impacts doing so in this way?
In this case, I have set Ofbiz data to Oracle DB.

-----Original Message-----
From: Pranay Pandey [mailto:[email protected]] 
Sent: Monday, May 12, 2014 4:05 PM
To: [email protected]
Subject: Re: Table Mapping


Hi Eric,

Yes you can add new tables in appropriate entitymodel.xml file. Refer how to
do that from tutorial here.
There are 3 sections dedicated to this thing namely: Creating Custom Entity,
Extending an Existing OOTB Entity and Preparing Data For Custom Application.

Best regards,

Pranay
http://www.hotwaxmedia.com

On 12-May-2014, at 12:47 PM, Eric Halim wrote:

> Yes, thanks I guess this is it.
> Is this equivalent to hibernate.cfg where we define entity and 
> relation among tables?
> 
> So, if I want to add new table, would it be automatically appear here 
> in this list? Or would there be some special steps to create new table 
> in Ofbiz?
> 
> Thanks in advance
> 
> -----Original Message-----
> From: Pranay Pandey [mailto:[email protected]]
> Sent: Monday, May 12, 2014 11:29 AM
> To: [email protected]
> Subject: Re: Table Mapping
> 
> 
> I think you are looking for this info:
> 
> https://localhost:8443/webtools/control/entitymaint
> https://localhost:8443/webtools/control/FindGeneric?entityName=Product
> Assoc&
> find=true&VIEW_SIZE=50&VIEW_INDEX=0
> https://localhost:8443/webtools/control/ViewRelations?entityName=Produ
> ctAsso
> c
> 
> If not please elaborate your question.
> 
> Best regards,
> 
> Pranay Pandey
> http://www.hotwaxmedia.com
> 
> On 09-May-2014, at 2:49 PM, Eric Halim wrote:
> 
>> Where is the table mapping?
>> 
>> 
>> 
>>           <#if productAssoc.productId == product.productId>
>> 
>>               <#assign assocProductId = productAssoc.productIdTo />
>> 
>>           <#else>
>> 
>>               <#assign assocProductId = productAssoc.productId />
>> 
>>           </#if>
>> 
>> 
>> 
>> Where to check that productAssoc table is PRODUCT_ASSOC with column 
>> PRODUCT_ID?
>> 
>> 
>> 
>> 
>> 
>> Thanks in advance
>> 
>> 
>> 
>> ---
>> This email is free from viruses and malware because avast! Antivirus
> protection is active.
>> http://www.avast.com
> 
> 
> 
> ---
> This email is free from viruses and malware because avast! Antivirus
protection is active.
> http://www.avast.com
> 



---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

Reply via email to