import java.lang.*;
import java.sql.*;
import java.sql.CallableStatement;
import oracle.jdbc.driver.*;
public class FirstThinDr {
public static void main (String args []) throws SQLException
{
String s = null;
DriverManager.registerDriver (new
oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection
("jdbc:oracle:thin:@bbbbbbb:", "dododo", "sososo");
// @machineName:port:SID, userid,
password
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery("select received_from,text
from carmen_email_alert where id = 5483");
//if (rset.next()) {
System.out.println("I am in");
while (rset.next()){
-----> t = rset.getClob(2);
int y = (int) t.length();
System.out.Println (rset.getString("received_from"));
System.out.println ("The length is" + y);
}// Print col 1
stmt.close();
//}
}
}
This prog. Gives error java.lang.AbstractMethodError at -----> (pl. go
to the prog.) What could be the problem ?
Thanks in advance
chinmay
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>