Hi.

The ResultSet that you will get will be most probably 
org.jboss.minerva.jdbc.ResultSetInPool. This wrapper has a method 
"getUnderlyingResultSet", which will give you your OracleResultSet.

You could implement something like this:

OracleResultSet oracleResultSet;
if (rs instanceof org.jboss.minerva.jdbc.ResultSetInPool) {
     oracleResultSet = (OracleResultSet)
         ((org.jboss.minerva.jdbc.ResultSetInPool) rs).getUnderlyingResultSet()
}

Martin

Artur Jonak wrote:

> Hi,
> 
> For a few days I've been using JBoss 2.2 with Oracle 8i.
> I've got a small application with some EJBs deployed.
> The entity EJBs are BMP with CMT.
> My problem is that I can't write CLOB data to the Oracle table.
> Minerva throws exception (transaction rolled back) when I try to
> create Writer from text output stream:
> 
> ...
> 
> Writer w = ((OracleResultSet)rs).getCLOB(1).getCharacterOutputStream();
> 
> ...


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to