Skip to main content

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

Very odd, could you include the full exception stack trace.  Also if you can
narrow it down to which class/mappings are causing the issue, please include
these.



ljnelson wrote:
> 
> 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
> 
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/DDL-generation-woes-%28again%29-tp25548248p25571132.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top