Reputation: 1
As per my knowledge in Apache OFBiz 16.11.04 the following path /framework/entity/lib/jdbc does not exist anymore.\ Could you provide me some information on how to implement JAR connector when migrating from derby to mysql?
I have done the steps described in Tutorial but the JAR part i cannot get, also i have little knowledge regarding JAR files Thanks in advance
Upvotes: 0
Views: 682
Reputation: 191
In the new version Apache OfBiz 16.11.04 if you want configure MySQL DATABASE then you need to add jar Dependency in build.gradle file
compile 'mysql:mysql-connector-java:5.1.25'
File path - apache-ofbiz-16.11.04/build.gradle
and then modify entityengine.xml file
Upvotes: 2
Reputation: 611
In new releases, beginning with R16, you need to refer to the main README for that. Unfortunately this point is not present in R16 README. You can find the instructions here https://cwiki.apache.org/confluence/display/OFBIZ/From+Ant+to+Gradle+-+trunk+version#setup-an-external-database-like-mysql-postgresql-etc (there is a R16 version of this page but the below documentation is not present on the equivalent R16 wiki page)
Setup an external database like MySQL, PostgreSQL, etc
To setup an external database instead of the default embedded Apache Derby, you will need to follow the following instructions:
OR
Download the JDBC driver jar and place it in $OFBIZ_HOME/lib or the lib sub-directory of any component
Upvotes: 0