[jboss-user] [EJB/JBoss] - DB2/AS400 select statements not getting generated properly