|
-
Jan 8th, 2008, 06:17 PM
#1
Thread Starter
Fanatic Member
JDBC using Function
Hi ,
I am searching a simple Code How to do Using Function
I have done a Stored Procedure using
CallableStatement
How to With Function ?
-
Jan 9th, 2008, 01:44 AM
#2
Re: JDBC using Function
The same. An SQL Function is a CallableStatement too.
A Sample
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jan 9th, 2008, 04:55 AM
#3
Thread Starter
Fanatic Member
Re: JDBC using Function
Thanks m8 For The Link
What is The Difference between
catch (SQLException e) {
e.printStackTrace();
and
catch (SQLException e) {
System.out.println(e.getMessage());
printStackTrace() ?
-
Jan 9th, 2008, 06:38 AM
#4
Re: JDBC using Function
e.printStackTrace(); will print the stack trace (from the call stack, that led to the exception)
System.out.println(e.getMessage()); will print the error message from the exception
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|