Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] DDL generation woes (again)

I finally figured out why EclipseLink's DDL generation has been bothering me.  It is unpredictable.

That is, when I have eclipselink.ddl-generation set to create-tables or drop-and-create-tables, sometimes it will correctly manufacture all the tables in my H2 database, and sometimes it will bomb out with:

Caused by: Exception [EclipseLink-7008] (Eclipse Persistence Services - 1.1.2.v20090730-r4753): org.eclipse.persistence.exceptions.ValidationException
Exception Description: The Java type [null] is not a valid database type.

To re-emphasize: if I run my unit tests 10 times, I may get 10 successes, or I may get 7, or 3, or....

I've been tracking this through https://bugs.eclipse.org/bugs/show_bug.cgi?id=282075, but I think the problem is probably deeper.

Does anyone have any thoughts on this issue?  Does DDL generation involve multithreading, or concurrency problems?

Thanks,
Laird

Back to the top