Database connection

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

Database connection

kalaiselvan velmurugan
Sir,

     Hi sir i am new to apache ofbiz and now i use the ofbiz i want
details about database connection in ofbiz the step by step
manner..........

--
By
~~`~@kalai@~`~~
Reply | Threaded
Open this post in threaded view
|

Re: Database connection

vivek
Dear Kalai,

I believe you will definitely enjoy working on this framework.
However firstly let me know what database you are willing to use.
Is it derby, mysql,etc..
In order to configure the database you need to have the database driver made available inside framework/entity/lib/jdbc folder.

Then whatever database you are willing to use give the details for the database & its connection in entityengine.xml for particular one eg localderby, localmysql etc.

Just run the framework using java -jar ofbiz.jar once, & for the first time the database structure gets automatically populated. If you wish to load the seed demo data you can write the command java -jar ofbiz.jar -install -readers=seed,demo,ext

You can then use the editor for the corresponding database to view & manipulate it.

Hope it would help you.
Kind Regards,
Vivek J
Reply | Threaded
Open this post in threaded view
|

Re: Database connection

BJ Freeman
In reply to this post by kalaiselvan velmurugan
Please use the user mailing list for such questions, see:
https://cwiki.apache.org/OFBADMIN/mailing-lists.html

the documentation is internal to ofbiz
http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML
this has setup for ofbiz in the technical section.
also
http://ofbiz.apache.org/docs/coreconfig.html
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide


=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


kalaiselvan velmurugan sent the following on 1/3/2011 8:43 PM:
> Sir,
>
>       Hi sir i am new to apache ofbiz and now i use the ofbiz i want
> details about database connection in ofbiz the step by step
> manner..........
>