Yes sure, the delegator part I got it. But for the 3 schemas for
localoracle, localoracleolap and localoracletenant how would you set these?
How would these 3 differ in each other?

I only got this currently

<datasource name="localoracle"
            helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
            schema-name="OFBIZ"
            field-type-name="oracle"
            check-on-start="true"
            add-missing-on-start="true"
            alias-view-columns="false"
            join-style="ansi"
            use-order-by-nulls="true">
        <read-data reader-name="tenant"/>
        <read-data reader-name="seed"/>
        <read-data reader-name="seed-initial"/>
        <read-data reader-name="demo"/>
        <read-data reader-name="ext"/>
        <inline-jdbc
                jdbc-driver="oracle.jdbc.driver.OracleDriver"
                jdbc-uri="jdbc:oracle:thin:@127.0.0.1:1521:ORCL"
                jdbc-username="ofbiz"
                jdbc-password="ofbiz"
                pool-minsize="2"
                pool-maxsize="250"
                time-between-eviction-runs-millis="600000"/>
    </datasource>

What are those values would be differ for olap and tenant?

Thanks in advance.

Best Regards
Eric Halim


-----Original Message-----
From: Rong Nguyen [mailto:[email protected]] 
Sent: Monday, April 07, 2014 4:46 PM
To: [email protected]
Subject: RE: OfBiz NewBie User

Take a look at entityengine.xml, it have predefined with some
databases(include Oracle):
 <delegator name="default" entity-model-reader="main"
entity-group-reader="main" entity-eca-reader="main"
distributed-cache-clear-enabled="false">
        <group-map group-name="org.ofbiz" datasource-name="localderby"/>
        <group-map group-name="org.ofbiz.olap"
datasource-name="localderbyolap"/>
        <group-map group-name="org.ofbiz.tenant"
datasource-name="localderbytenant"/>
    </delegator>

You can define your Oracle's schema and replace your target Oracle's schema
in datasource-name attribute.



-----
Rong Nguyen

Olbius JSC
Deliver highest business value
http://www.olbius.com/
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/OfBiz-NewBie-User-tp4650234p4650240.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


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

Reply via email to