I was using 0.9.4 , mssql drivers, and odmg api to return a list in a struts application. Everything worked.
I upgraded to 0.9.8, new repository.dtd, 0.9.8 jars, OJB.properties, same repository.xml file just changed the <descriptor-repository version="0.9.8" and the query breaks with the following error... javax.servlet.ServletException: org.apache.ojb.odmg.OJB.getInstance ()Lorg/apache/ojb/odmg/OJB; Tried a few things but nothing works. I have a feeling I'm missing something on the configuration. The class that runs the query initializes the database like this... private void initializeDatabase() throws DatabaseException { try { db.open("repository.xml", Database.OPEN_READ_WRITE); } catch (ODMGException ex) { ex.printStackTrace(); throw new DatabaseException(ex); } } The query code starts like this... OQLQuery query = odmg.newOQLQuery(); try { query.create("select allUsers from " + User.class.getName ()); List allUsers = (List) query.execute(); I'm a newbie with OJB, any help would be appreciated. Thanks, -tom =============================================== This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you have received this transmission in error, please notify the sender at the e-mail address above. ================================================ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>