Make sure you have the following requirements in place before you try to deploy your EJB applications using SQLJ:
To run SQLJ enterprise beans on WebSphere® Application Server, you need DB2® installed on the machine where you generate the deployment code, as well as on the machine containing the databases. Structured Query Language in Java™ (SQLJ) for EJB persistence requires DB2 Version 8 fix pack 1.
On the machine where you generate the deployment code, you need: DB2 UDB Application Development Client Version 8 fix pack 1.
SQLJ support requires Version 2.x CMP enterprise Java beans. If you mix EJB 1.1 and 2.x beans in an EJB 2.x module, then only the EJB 2.x beans are deployed to use SQLJ. The EJB 1.1 beans continue using JDBC for data access.