Category : Java

JTOpen: Open source OS/400 and i5/OS drivers

March 10th, 2008 by stevi | 0

My most recent project required me to use JDBC to connect to the database server on an OS/400 server. I had a heck of a time finding drivers, going around and around again on IBM’s site. The client probably had the drivers, but they were relying on us to tell them what went where and [...]

Spring, JDBCTemplate, and Stored Procedures, Part II

March 9th, 2008 by stevi | 10 comments

In my previous post, I gave an example of code on how to use Spring’s JDBCTemplate to call a stored procedure and process a returned result set using the simple query. Here’s the code to do the same with overriding Spring’s StoredProcedure class. The advantage in this method is that using the declareParameter method can [...]

Processing Stored Procedure result sets in Spring

March 8th, 2008 by stevi | 9 comments

Recently, I was using Spring‘s JDBCTemplate for my Data Access Layer (DAL). I had a stored procedure that returned a result set, and had to spend quite a bit of search time finding an example of how to process it. I managed to work it out using both the method of overriding Spring’s StoredProcedure and [...]