In our project, we are using JBoss 4.0.4 (EJB 2.1) and a Oracle 10g database. Recently, we switched our container configuration from "Standard CMP 2.x EntityBean" to "cmp2.x jdbc2 pm". Some of our entity beans have attributes that are mapped to the Oracle datatype "LONG RAW". With the new configuration, we get the following exception when accessing those beans:
javax.ejb.EJBException: Internal error getting results for field member xyz Caused by: java.sql.SQLException: Stream has already been closed
Has anyone experienced similar problems and/or a solution to this?