Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » TableDefinition: calls Helper.truncate with a negative size
TableDefinition: calls Helper.truncate with a negative size [message #389728] Wed, 24 June 2009 08:02 Go to next message
Christian Eugster is currently offline Christian EugsterFriend
Messages: 173
Registered: July 2009
Location: St. Gallen Switzerland
Senior Member

I have a table called colibri_common_settings with a fk field

When I try to create a derby database using create=true as an option in
the url (jdbc:derby:cache;create=true) I get a

Because in n.buildForeignKeyConstraintName
line 446 this method calls Helper.truncate() after shortened the fk
fieldname. Because the shortened fieldname (23) is still longer than the
maximumNameLength (18) the computed size is negative (-5).

Is this an issue or have I to shorten my field names?

Thanks in advance

Re: TableDefinition: calls Helper.truncate with a negative size [message #389739 is a reply to message #389728] Thu, 25 June 2009 13:39 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

It looks like this was fixed recently, at least in the main stream. You
might want to try the latest 1.1 or 2.0 build.

Otherwise, you could shorten your field name as a workaround until you


James : Wiki : Book : Blog : Twitter
Previous Topic:EclipseLink 1.1.2 Released in Galileo
Next Topic:CascadeType=ALL does not result in ON DELETE CASCADE?
Goto Forum:

Current Time: Fri Jun 22 08:00:06 GMT 2018

Powered by FUDForum. Page generated in 0.01655 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top