After reading the jdbc2 API, I have changed my code to the following

Clob def_clob = results.getClob(1);

I get the following error
java.lang.IllegalStateException: Response has already been committed

I changed the code to the following
<%@ page import="oracle.sql.*" %>
<%@ page import="oracle.jdbc.driver.*" %>

CLOB = ((OracleResultSet)results).getCLOB(1);

In this case following error occurs:
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\tomcat\jakarta-tomcat\work\localhost_8080%2Fdod\_0002fjsp_0002fjcsdict_0002fFirstResults_0002ejspFirstResults_jsp_70.java:0:
The method oracle.jdbc2.Clob getClob(int) declared in class
oracle.jdbc.driver.OracleResultSet cannot override the method of the same
signature declared in interface java.sql.ResultSet. They must have the
same return type. package jsp.jcsdict;


But the same code runs OK ( the 2nd definition) if I use it in a class
instead of a JSP page.

Please help,
Amar Das





====================================================================
++  Amarjyoti Das

++  email: [EMAIL PROTECTED]

++  phone: (207) 594-3048 x 30

++  fax:(207) 594-3021

++  web: www.stgeorgeconsulting.com

====================================================================

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to