Monday, August 27, 2007

An anoying difference between NB 5.5.1 and NB 6.0


It's been a while since I've blogged, and I won't say that'll change. I've made that promise too often without being able to live up to it. But enough about that.

Last week I reported a bug (113543) about that I couldn't use the visual designer for changing a persistence.xml file. There was a workaround; changing the file in XML view, so the P1 was set to a P2. As it turned out, the JPA provider class in NB5.5.1 had changed from oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider to oracle.toplink.essentials.PersistenceProvider and NB 6.0's visual designer for persistence.xml files couldn't handle this.

It was a really annoying bug, this difference between the NB versions. But changing the provider in the persistence.xml did solve the problem.