TableDefinition: calls Helper.truncate with a negative size [message #389728] |
Wed, 24 June 2009 04:02  |
Eclipse User |
|
|
|
Hi,
I have a table called colibri_common_settings with a fk field
common_settings_default_product_group_id.
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
StringIndexOutOfBoundsException:
Because in
org.eclipse.persistence.tools.schemaframework.TableDefinitio 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
Christian
|
|
|
|
Powered by
FUDForum. Page generated in 0.03483 seconds