File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Problem with Ibatis and SP with parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Problem with Ibatis and SP with parameters" Watch "Problem with Ibatis and SP with parameters" New topic
Author

Problem with Ibatis and SP with parameters

Cesar Coz
Ranch Hand

Joined: Aug 19, 2010
Posts: 31
Hello, im new using ibatis and i wish someone could help me with this problem

im trying to access a SP in oracle, build like this





this SP returns a cursor with a query with 3 colums and i have a POJO class "Ingreso"with the same attributes as the colums in the cursor

and i'm mapping the xml like this:



well i want to know how ibatis is going to know wich parameter use in the second '?', i'm putting a 'id' parameter in a Map and calling to the SP like this:



but i'm getting this error:


can someone help me with this please?


Cesar Coz.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem with Ibatis and SP with parameters
 
Similar Threads
IBATIS - multiple parameter
Ibatis 2 procedur with cursor out parameter
iBatis Stored Procedure call
Ibatis to pull values from dual defined in stored proc
Error in updating a table in mysql using IBATIS