Click to See Complete Forum and Search --> : JDBC using Function
killer7k
Jan 8th, 2008, 05:17 PM
Hi ,
I am searching a simple Code How to do Using Function
I have done a Stored Procedure using
CallableStatement
How to With Function ?
ComputerJy
Jan 9th, 2008, 12:44 AM
The same. An SQL Function is a CallableStatement too.
A Sample (http://www.idevelopment.info/data/Programming/java/jdbc/PLSQL_and_JDBC/CallPLSQLFunc.java)
killer7k
Jan 9th, 2008, 03:55 AM
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() ?
ComputerJy
Jan 9th, 2008, 05:38 AM
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
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.