Thank you very much. I will share the outcome. Naveeno Metta 903-484-4097 naveenme...@nkmetta.com https://www.linkedin.com/in/naveenmetta
-----Original Message----- From: Nicolas Malin [mailto:nicolas.ma...@nereide.fr] Sent: Tuesday, June 07, 2016 2:24 AM To: user@ofbiz.apache.org Subject: Re: How to integrate Ofbiz with Cassandra Database? Yes, To deploy cassandra you can try : 1. download the cassandra jdbc driver on framework/entity/lib/jdbc 2. configure entityengine on framework/entity/config/entity-engine.xml and add a datasource like that : <datasource name="localcassandra" helper-class="org.ofbiz.entity.datasource.GenericHelperDAO" schema-name="OFBIZ" field-type-name="cassandra" check-on-start="true" add-missing-on-start="true" use-pk-constraint-names="false" use-indices-unique="false" alias-view-columns="false" use-order-by-nulls="true" offset-style="fetch"> <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"/> <read-data reader-name="ext-test"/> <read-data reader-name="ext-demo"/> <inline-jdbc jdbc-driver="org.apache.cassandra.jdbc.EmbeddedDriver" //check the jdbc value jdbc-uri="jdbc:cassandra://127.0.0.1/ofbiz" //check the jdbc value jdbc-username="ofbiz" jdbc-password-lookup="ofbiz" isolation-level="ReadCommitted" pool-minsize="2" pool-maxsize="250" time-between-eviction-runs-millis="600000"/> </datasource> and set your delegator on this : <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="localcassandra"/>... 3. create the field type like this : framework/entity/fieldtype/fieldtypecassandra.xml. Take inspiration from fieldtypepostgres.xml and adapt for the cassandra data base. I didn't test the process, just show you the way ;) and if it's works, all contribution are welcome :) Nicolas Le 07/06/2016 03:56, Naveen Metta a écrit : > Nicolas, > Any luck on finding free time to document Cassandra integration with OFBIZ? > > Thank you. Sent from my iPhone. > > Naveeno Metta > naveenme...@nkmetta.com > https://www.linkedin.com/in/naveenmetta > >> On Jun 3, 2016, at 8:40 AM, Nicolas Malin <nicolas.ma...@nereide.fr> wrote: >> >> >> Hi Naveeno, please wait I can explain howto do this but I haven't time. >> >> :) I try to find spare time this night >> >> Nicolas >> >> Le 03/06/2016 15:35, Pranay Pandey a écrit : >>> Hi Naveeno, >>> >>> The answer to the question- >>> Can OFBiz use CASSANDRA as Database? >>> will be Yes, but based on my understanding as of now there is no >>> direct configuration settings available in OOTB OFBiz for the same. >>> It may require some work to get it working with Cassandra. >>> >>> Let's wait and see what other community members have to say about it. >>> >>> >>> Best regards, >>> >>> Pranay Pandey >>> HotWax Systems >>> http://www.hotwaxsystems.com/ >>> >>> On Fri, Jun 3, 2016 at 6:24 PM, Naveen Metta >>> <naveenme...@nkmetta.com> >>> wrote: >>> >>>> Can ofbiz use CASSANDRA as DAtabase? >>>> >>>> Thank you. Sent from my iPhone. >>>> >>>> Naveeno Metta >>>> naveenme...@nkmetta.com >>>> https://www.linkedin.com/in/naveenmetta >>>> >>>>>> On Jun 2, 2016, at 10:11 PM, Naveen Metta >>>>>> <naveenme...@nkmetta.com> >>>>> wrote: >>>>> Hi all, >>>>> Is anyone can point me in right direction for how to integrate >>>>> Ofbiz >>>> with Cassandra Database. >>>>> Thank you. >>>>> >>>>> Naveeno Metta >>>>> naveenme...@nkmetta.com >>>>> https://www.linkedin.com/in/naveenmetta