DB2 SQL Efficiencies with Java Stored Procedures