By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,117 Members | 1,093 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,117 IT Pros & Developers. It's quick & easy.

Problem with executing Postgres function from javacode

P: 1
boolean retval = false;
StringBuffer sql = new StringBuffer();
ResultSet rst = null;
sql.append("select assign_customers() ");
Statement st = conn.createStatement();
retval = st.execute(sql.toString());

When I execute assign_customers through pgadmin , it works. But within javacode
I do not get any error nor the result gets executed
Assign_customers doesnt return any values.

Can somebody help me to call this function from javacode
Oct 3 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.