posted 18 years ago
I have a bean with CMP. I have a clob column in the database. I am using weblogic 8.1 sp3.
I have added the following to weblogic-cmp-rdbms-jar.
<field-map>
<cmp-field>techClob</cmp-field>
<dbms-column>TECH_CLOB</dbms-column>
<dbms-column-type>OracleClob</dbms-column-type>
</field-map>
When I tried to access the bean thru findByPrimaryKey, I am getting the following exception:
javax.ejb.FinderException: Exception raised in findByPrimaryKey
java.sql.SQLException: Stream has already been closed
java.sql.SQLException: Stream has already been closed
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
The same thing is happening by using Blobs too.
Can anybody help?
Thank you.