[OJB-developers] OJB with Ms Access
Brought to you by:
thma
From: Sara F. <sa...@li...> - 2002-05-01 14:49:59
|
Hi, I tried to use ojb with Ms Access but something was wrong. If I put on the repository.xml the tag <jdbc.level>1.0</jdbc.level> the application gives me the following error "[BOOT] ERROR: unknown literal: jdbc.level [ojb.broker.metadata.RepositoryXmlHandler] ERROR: null". On the other hand, if I avoid to put the jdbc.level tag and I run the application when it tries to read from the db the error is "java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcPreparedStatement.clearParameter(JdbcOdbcPrepar edStatement.java:1026) at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedState ment.java:2778) at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedSta tement.java:772)....." Does someone know the solution? Thanks sara |