Subject | Re: Error while checking if table aleady exists; |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-03-20T19:43:18Z |
David,
characters, JBoss CMP will fail with exactly this exception?
I suspect that this happens in PreparedStatement.setString(int,
String), and because of issue in Firebird metadata, JayBird thinks
that column name is max. 10 characters...
So, if you confirm this, I think we should switch off checking of
string size in FBStringField and letting server throw an exception.
Thanks!
Roman
> I am having an issue with JBoss and the firebird driver. I amCan you confirm the fact that if table name is greater than 10
> getting the following error whilst deploying some beans. Has anyone
> encountered this, does anyone have any suggestions. I am using
> JBoss3.2.0RC3 and jaybird 1.0.0RC2.
> ...
> 14:32:57,640 ERROR [EntityContainer] Starting failed
> org.jboss.deployment.DeploymentException: Error while checking if
> table aleady exists; - nested throwable: (java.sql.DataTruncatio
> n: Data truncation)
> at
> org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists(SQLUtil.java:731)
characters, JBoss CMP will fail with exactly this exception?
I suspect that this happens in PreparedStatement.setString(int,
String), and because of issue in Firebird metadata, JayBird thinks
that column name is max. 10 characters...
So, if you confirm this, I think we should switch off checking of
string size in FBStringField and letting server throw an exception.
Thanks!
Roman