|
|
migrate jdbc code to spring
i am migration our old jdbc code to spring
we are using stored procedure to query oracle database and returning oracle ref cursor
our current implementation uses:{call proc_name (? ? ?)}
conn.prepareCall
m_cstmt.executeUpdate
m_cstmt.registerOutParameter
i cant find any documentation on this subject
please help
sp...toredProcedure
in this tutorial we use
declareParameter(new SqlOutParameter(quot;datequot;, Types.DATE));
where quot;datequot; is the parameter name
my old code
is using m_cstmt.registerOutParameter
without specifying parameter name ,
can i use it the old way ?
thanks |
|