ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MRaedle@t-online.de" <MRae...@t-online.de>
Subject Oracle BLOB
Date Wed, 31 Aug 2005 13:04:47 GMT
<font style="font-family: arial,helvetica,sans-serif;" size="2"><p>Hello
all,</p><p>I became a SQL exception (see under) if I want to save a
byte[] into a column of type BLOB. Can anyone tell me what the problem
is and how I can solve it.</p><p>----</p><p>java.sql.SQLException:
E/A-Exception: Connection reset by peer: socket write error<br /> at
com.ibatis.db.sqlmap.MappedStatement.executeUpdate(Unknown Source)<br
/> at com.ibatis.db.sqlmap.SqlMap.executeUpdate(Unknown Source)<br /> at
pruftechnik.webomt.dao.impl.map.TemplateMapDao.SaveTemplateElement(TemplateMapDao.java:2725)<br
/> at
pruftechnik.webomt.dao.impl.map.TemplateMapDao.InsertTemplate(TemplateMapDao.java:2158)<br
/> at
pruftechnik.webomt.dao.impl.map.TemplateMapDao.SaveTemplate(TemplateMapDao.java:1409)<br
/> at
pruftechnik.webomt.dao.impl.map.TemplateMapDao.SaveTemplate(TemplateMapDao.java:779)<br
/> at
pruftechnik.webomt.dao.DaoAccessComponent.SaveTemplate(DaoAccessComponent.java:1116)<br
/>ERROR   2005-08-31 14:44:29.906 [webserve] ():
pruftechnik.webomt.net.soap.ReportTemplateSoapBindingImpl.saveTemplate()<br
/>com.ibatis.db.dao.DaoException: Error rolling back transaction. Cause:
java.sql.SQLException: Getrennte Verbindung &lt;---- Caused by:
java.sql.SQLException: Getrennte Verbindung ----&gt;<br /> at
com.ibatis.db.dao.jdbc.SqlMapDaoTransaction.rollback(Unknown Source)<br
/> at com.ibatis.db.dao.DaoManager.rollbackTransaction(Unknown
Source)<br /> at
pruftechnik.webomt.dao.DaoAccessComponent.HandleTransaction(DaoAccessComponent.java:4616)<br
/> at
pruftechnik.webomt.dao.DaoAccessComponent.SaveTemplate(DaoAccessComponent.java:1118)<br
/> at
pruftechnik.webomt.net.soap.ReportTemplateSoapBindingImpl.saveTemplate(ReportTemplateSoapBindingImpl.java:831)<br
/> at
pruftechnik.webomt.net.soap.ReportTemplateSoapBindingSkeleton.saveTemplate(ReportTemplateSoapBindingSkeleton.java:538)<br
/> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br
/>rethrown from<br />java.sql.SQLException: Getrennte Verbindung<br
/> at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)<br
/> at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)<br
/> at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)<br
/> at
oracle.jdbc.driver.OracleConnection.rollback(OracleConnection.java:1439)<br
/> at
com.ibatis.db.jdbc.SimpleDataSource$SimplePooledConnection.rollback(Unknown
Source)<br /> at com.ibatis.db.sqlmap.SqlMap.rollbackTransaction(Unknown
Source)<br /><br /><br /></p></font>



Mime
View raw message