Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] running JPA JUnit tests

Hi Tom,

I got it to run on my other machine.

I did have to change the return type of getPersistenceUnitUtil() in
EclipseLink\jpa\plugins\javax.persistence\src\javax\persistence\EntityManagerFactory.java
to make it compile. I'm not sure what other things I did, but I think
I'm running the tests using JDK6 now.

One of the first few tests seem to fail because the database returned an
error saying that there was not enough space in my empty 2GB table space
to create the tables required for advanced/LifeCycleJUnitTestSuite.

The error message was hidden so far because it was masked by a NPE
occurring in a finalize block. In the catch block the persistence
manager is closed and the session nullified while in the finalize block
it tries to start a transaction to return the DB to the original state.
With the nullified session, that throws a NPE.

Hopefully after solving the table space shortage problem we'll get a
better picture of how the platform class is performing.

Thanks,
Dies



Back to the top