db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wang lei <wl_95...@yahoo.com.cn>
Subject "Stream is already closed" with Oracle9i
Date Sun, 06 Nov 2005 14:21:49 GMT
Today j ust get the latest source code.
I run it on Oracle9i.
But i got a exception about "Stream is already closed"
I readed all the archive of mail lists.
i read one of  "Stream is already closed" with Oracle.
It told that the bug is fixed.
I read the comments from 306 to 311 lines.
But the problem is still there.
I feel confued.
I am using oracle9i and 10G driver(ojdbc14_g.jar)
Is there anybody who can tell me about it.
I run the same application on mssql and mysql.
No exception.
The following is the message of the exception.
Exception in thread "main" java.sql.SQLException: Stream is already closed at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
 at oracle.jdbc.ttc7.LongTTCItem.getChars(LongTTCItem.java:189)
 at oracle.jdbc.dbaccess.DBDataSetImpl.getCharsStreamItem(DBDataSetImpl.java:1630)
 at oracle.jdbc.driver.OracleStatement.getCharsInternal(OracleStatement.java:3347)
 at oracle.jdbc.driver.OracleStatement.getStringValue(OracleStatement.java:3556)
 at oracle.jdbc.driver.OracleResultSetImpl.getString(OracleResultSetImpl.java:434)
 at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1482)
 at org.apache.ddlutils.platform.JdbcModelReader.getValueAsString(JdbcModelReader.java:560)
 at org.apache.ddlutils.platform.JdbcModelReader.getColumnsForTable(JdbcModelReader.java:312)
 at org.apache.ddlutils.platform.JdbcModelReader.getTables(JdbcModelReader.java:258)
 at org.apache.ddlutils.platform.JdbcModelReader.getDatabase(JdbcModelReader.java:194)
 at org.apache.ddlutils.TestColumn.main(TestColumn.java:53)

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message