|
Hi,
I am using cator-jdo for first time.
I am trying to run a sample, when i try to call
getDatabase(), I get the following exception:
org.exolab.castor.jdo.DatabaseNotFoundException: No
configuration loaded for database XFILES -- use the JDO interface to load a
configuration for this database
at
org.exolab.castor.jdo.engine.DatabaseImpl.<init>(DatabaseImpl.java:177)
at
org.exolab.castor.jdo.JDO.getDatabase(JDO.java:599)
at
com.smartifacts.narmada.CastorTestClient.connect(CastorTestClient.java:69)
The database name 'XFILES' is exists. I could
access it through plain JDBC connection.
I tried using loadConfiguration(), still
it throws the same exception.
What could be wrong with it. I need some help
on connecting to the database. I am using Oracle as my
backend.
Thanks
Veeru. |
