Hello,

We are having some problems with OJB 0.9.8, Oracle 9i and BLOB fields which
are greater than 4K, when we insert a new object.  The statement execution
hangs for a long time and when it comes back we get this error: 

java.sql.SQLException: Io exception: End of TNS data channel
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
        at
oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1860
)
        at
oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1771)
        at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:2361)
        at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedState
ment.java:422)
        at
org.apache.ojb.broker.accesslayer.JdbcAccess.executeInsert(JdbcAccess.java:1
95) 


In the database the field is a BLOB and in the repository it is marked as a
BLOB, in our object the attribute in a byte[].

Is this known issue?  Is there a way to get this to work?

Alan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to