in old JDO 1.0 project we use the PersistenceCapable interface like this
Model model = new Model(); Model datas List models = new ArrayList(); models.add((PersistenceCapable) model);
the interface was enhanced to the class.
in the new version we get this
java.lang.ClassCastException: Model cannot be cast to javax.jdo.spi.PersistenceCapable
give it an workaround or so?