I am installing xorm as an ORM for my JAVA web
application and would like to configure the properties file
for mySql, but when i do so there following error shows
up:
javax.jdo.JDOFatalException: Datastore driver could not
be identified for com.mysql.jdbc.Driver . This setting
should be the name of your JDBC driver class (not a
XORM class). For more information on known values,
consult src/org/xorm/datastore/sql/drivers.properties.
My properties file is:
javax.jdo.PersistenceManagerFactoryClass=org.xorm.Inter
faceManagerFactory
javax.jdo.option.ConnectionURL=jdbc\:mysql\://localhost\
:3306/prueba
javax.jdo.option.ConnectionUserName=root
javax.jdo.option.ConnectionPassword=
javax.jdo.option.ConnectionDriverName=com.mysql.jdbc.D
river
javax.jdo.option.MinPool=2
javax.jdo.option.MaxPool=5
org.xorm.datastore.database=/prueba-db.xml
Logged In: YES
user_id=591390
My best guess is you have a space at the end of the
javax.jdo.option.ConnectionDriverName=com.mysql.jdbc.Driver
line. Looking at the stuff you cut and paste into this
support request makes me think I'm correct :)
Check for extra space at the end of the ConnectionDriverName
line.
Logged In: YES
user_id=328771
Hi there,
I had the same problem...I dropped in the mysql-connector
(from mysql.com) and pointed to that instead and it seems to
work fine.
--joshw