Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes Callable Statement problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Callable Statement problem" Watch "Callable Statement problem" New topic

Callable Statement problem

M Givney

Joined: Sep 24, 2003
Posts: 25
Hi folks,

I am getting a odd exception being thrown when I try to execute a callable statement. Per this code:

And the error I get is:

java.lang.UnsatisfiedLinkError: SQLBindChar

Any ideas what causes or how to fix this?

[ October 11, 2004: Message edited by: M Givney ]
[ October 11, 2004: Message edited by: M Givney ]
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
java.lang.UnsatisfiedLinkError: SQLBindChar
From API doc
Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.

SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Gaurav Agarwal

Joined: Oct 13, 2004
Posts: 18
I think you should use drivermanager.getConnection() instead of direct getConnection()
I agree. Here's the link:
subject: Callable Statement problem
It's not a secret anymore!