• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

bea weblogic: java.sql.SQLException: Stream has already been closed

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
I'm full of tinier men! And a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic