Sure I can remove procedure from class under assumption that inline sql proc and java code are eauivalent.