I know that there is no support for stored procedures yet in 2.1, but I have a object that maps fine to my database except for one column that I need to retrieve using a stored procedure. The data for that column comes from another table, but the logic is too complicated for any join.
What we do now, using regular jdbc, is get the result set and for each row in the result set, pass the parameters to the stored procedure to retrieve the value.
Any ideas, on how this might be accomplished using hibernate?
|