[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hsql-user
Subject:    [hsql-user] bug with long strings in 1.41?
From:       "Thomas Hertz" <hertz () hybris ! de>
Date:       2000-03-31 9:57:57
[Download RAW message or body]

Hello!

I think this is a bug (tested with 1.41)

If I try to prepare a statement and set a string via
pstmt.setString( x, "string" )
and the size of the string is bigger than 41000 bytes (in my case), 
I get a exeption when I try to update this statement:

(I tried the columtype CHAR, VARCHAR and LONGVARCHAR )

java.sql.SQLException: Connection is broken
        at org.hsql.Trace.getError(Trace.java:124)
        at org.hsql.Trace.getError(Trace.java:115)
        at org.hsql.Trace.error(Trace.java:130)
        at org.hsql.jdbcConnection.executeHSQL(jdbcConnection.java:636)
        at org.hsql.jdbcConnection.execute(jdbcConnection.java:538)
        at org.hsql.jdbcStatement.fetchResult(jdbcStatement.java:499)
        at org.hsql.jdbcStatement.executeUpdate(jdbcStatement.java:52)
        at org.hsql.jdbcPreparedStatement.executeUpdate(jdbcPreparedStatement.ja
va:114)
        at de.hybris.jakarta.ejb.testsuite.DBTest.openDatabase(DBTest.java:28)
        at de.hybris.jakarta.ejb.testsuite.DBTest.main(DBTest.java:46)



Or does HSQL generally not support such big strings?

Greetings from Munich,

Thomas



---

Thomas Hertz
  hertz@hybris.de

 hybris GmbH
  Schwere-Reiter-Str. 35
  Gebaeude 16
  80797 Muenchen

  fon: +49 89 30 66 97 0
  fax: +49 89 30 66 97 99
  http://www.hybris.de

 solutions for an
  accelerating generation.
 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic