Home » Developer & Programmer » JDeveloper, Java & XML » No more data to read from socket
No more data to read from socket [message #90886] Thu, 15 November 2001 07:41 Go to next message
Staffan Rosengren
Messages: 1
Registered: November 2001
Junior Member
Why do I get this message?

java.sql.SQLException: No more data to read from socket
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.sql.SQLException(java.lang.String)
void oracle.jdbc.dbaccess.DBError.check_error(short)
short oracle.jdbc.ttc7.TTCInBuffer.getByte()
byte oracle.jdbc.ttc7.TTIMsg.unmarshalSB1()
void oracle.jdbc.ttc7.Oall7.receive()
oracle.jdbc.ttc7.Oall7 oracle.jdbc.ttc7.TTC7Protocol.doOall7(long, int, byte [[]], oracle.jdbc.dbaccess.DBType [[]], oracle.jdbc.dbaccess.DBData [[]], int, oracle.jdbc.dbaccess.DBType [[]], oracle.jdbc.dbaccess.DBData [[]], int)
int oracle.jdbc.ttc7.TTC7Protocol.fetch(oracle.jdbc.dbaccess.DBStatement, oracle.jdbc.dbaccess.DBType [[]], oracle.jdbc.dbaccess.DBData [[]], int)
oracle.jdbc.driver.OracleStatement(oracle.jdbc.driver.OracleConnection, oracle.jdbc.dbaccess.DBStatement, int, int)
java.sql.ResultSet oracle.jdbc.driver.OracleStatement.getCursorValue(boolean, int)
java.sql.ResultSet oracle.jdbc.driver.OracleCallableStatement.getCursor(int)

----------------------------------------------------------------------
Re: No more data to read from socket [message #91004 is a reply to message #90886] Tue, 05 February 2002 06:01 Go to previous messageGo to next message
ammcp
Messages: 1
Registered: February 2002
Junior Member
I get this error, when I am trying to insert data which is longer than the width of columen, thru jdbc.
for example if a column is varchar(2) And if you try to insert ABC, then JDB driver throws this error. and Sqlplus throws
ERROR at line 1:
ORA-01401: inserted value too large for column.

Have resolved this prblem? Why is JDBC not throwing correcr error?
Re: No more data to read from socket [message #91109 is a reply to message #91004] Wed, 10 April 2002 05:06 Go to previous messageGo to next message
arewg
Messages: 1
Registered: April 2002
Junior Member
.

Re: No more data to read from socket [message #91299 is a reply to message #90886] Thu, 04 July 2002 03:07 Go to previous message
Mona
Messages: 9
Registered: December 2001
Junior Member
check whether u r executing the query r not?.
Previous Topic: ORA-17413 Exceeding Key Size error
Next Topic: How to insert a new Clob with data great then 4000 bytes
Goto Forum:
  


Current Time: Fri Nov 29 15:27:02 CST 2024