db4o

How do you change the schema in an OO database such as DB4O?

Just getting started with DB4O object oriented database. I'm very familiar with SQL, if I upgrade the app and add a new field I just go into a SQL manager, change the schema, and initialize a new field with some manual SQL. What is the process with an OO database such as DB4O? Is it similar? ...

ClassCastException in DataNucleus DAO object when persisting/retreiving an Object using JDO

I've created a simple webapp using Spring & Jetty, and am creating a hello world JDO test using DataNucleus & DB4O. I can persist a class no problem, but when I go to query for the class I get a ClassCastException, can't cast a.b.c.MyClass to a.b.c.MyClass. When I examine the classloader of the original object I created, it's [WebAppCl...

JDO: Is the PersistenceManager a singleton?

Just the basics: I'm using DataNucleus backed with an embedded DB4O database. If I do this simple test: PersistenceManager pm1 = persistenceManagerFactory.getPersistenceManager(); PersistenceManager pm2 = persistenceManagerFactory.getPersistenceManager(); pm1.makePersistent(t1); pm2.makePersistent(t2); I get a file l...