[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[eclipselink-users] DDL generation woes (again)
|
- From: Laird Nelson <ljnelson@xxxxxxxxx>
- Date: Mon, 21 Sep 2009 14:00:32 -0400
- Delivered-to: eclipselink-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=4Ul/6JCJqDS23Dy/3+1PZR4QaINNVkHtoZi+cx4m6bE=; b=IGw1wysVZzB0UnLP6ejixQf4S2hFErzZHHjJ8eMS4RIsNJa9g/9jnNq/0SF7YAGFPB jgnPtS8SSYizqpyGQdtfY8XGM/f9zUf35FvqrhlbkMMAkAGgPxdrf7qPAIr6jZMye6so 9frfFnbk2Mdh08Kb8Ykgl6OhSx04cLqBFybFQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KTp5ZKveFD8Oq0uMrkIMOYrA1xyDJg5d76HUCRQL55/JoxaESYqjEixeGMfnt+4yqQ O0W1nKNEoXJwPGiSxWNy9F6Mb7xfQA9tq0IQGrU2Z0Hk2B1ADxgMMv0UX0+WwUrhTNGm oAscPGAnFMcNTFW7WfXugo3EIgHQchHFEKP5E=
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