Link to home
Start Free TrialLog in
Avatar of jbaird123
jbaird123

asked on

Can Java execute an Oracle Stored Proc using Named Parameters?

Can Java execute an Oracle Stored Proc using Named Parameters?

I have a situation where I need to execute a stored procedure in Oracle from Java, and the only way this procedure can be called is by naming the parameters individually.  I cannot figure out how to do this.  It seems that positional parameters is the only thing that will work in Java.

Is there a solution for this problem?
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jbaird123
jbaird123

ASKER

objects:

I forgot to mention, I'm running on Oracle 9i.  Is there something that will work on 9i?  The solution you gave looks like it only works on 10g.
believe it should work on any version
Thank you!