Aha!
 
But it seems like a good approach. What are the chances it will be integrated into a future release of iBatis? Anyone?
 
What attracts us to iBatis is that our SQL, and our mappings, are externalised. Now when we call stored procs / functions, which unfortunately we must in some situations, we get a cursor back, which we can transform into a ResultSet using TypeHandlers. But then we have to unmarshall from the ResultSet ourselves in our java code, so our mapping is no longer cleanly externalised.
 
I suppose the problem is that it's oracle specific. How about we split the difference? We can supply a custom TypeHandler to convert from cursors into ResultSets. Is it then possible to somehow have iBatis map a ResultSet into objects?
 
If this is a well-worn and well shot-down theme for the regulars, apologies.


Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!

Reply via email to