Results 1 to 2 of 2
Thread: Re:SQL Exception
- 10-27-2008, 06:26 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 11
- Rep Power
- 0
Re:SQL Exception
Hi
The code goes here -
objStatement = objConnection.createStatement();
objResultset = objStatement.executeQuery("select ORIGINAL_CONTENT from pdrepadm.CABI where DOC_ID=1");
while(objResultset.next()){
Clob clob = objResultset.getClob(1);
BufferedReader reader = new BufferedReader(new InputStreamReader ( clob.getAsciiStream() ) );
String line = null;
while (( line = reader.readLine()) != null)
{
System.out.println(line);
}
reader.close();
}
- 10-28-2008, 09:37 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Can you explain what's your question, more clearly. And also can you copy-paste your error message.
Similar Threads
-
get exception name
By jithan in forum New To JavaReplies: 6Last Post: 06-05-2008, 02:29 PM -
Exception
By rmaadil in forum JDBCReplies: 1Last Post: 05-19-2008, 12:45 PM -
Exception!
By rameshraj in forum Advanced JavaReplies: 1Last Post: 05-05-2008, 01:39 PM -
Trouble with factory method - unhandled exception type Exception
By desmond5 in forum New To JavaReplies: 1Last Post: 03-08-2008, 06:41 PM -
Exception
By Camden in forum New To JavaReplies: 2Last Post: 11-26-2007, 11:50 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks