glassfish 4 and DB2
Has anyone been successful with creating DB2 JDBC resources? I've followed all the directions (I think) but I'm getting errors.
For starters the the classes of the resources are:
Should the classes be com.ibm.db2 ??? or the Sun wrappers?
Secondly, pressing the "flush" button gives a response that it cannot be flushed because it has not been initialized (this after referencing the datasource in an EJB).
Thirdly, when an EJB references the injected datasource the exception is that the schema does not exist.
So following the directions clearly does not result in a usable resource.
If you've successfully connected to a DB2 resource definition, please share how to create the resource so that an injection point of @Resource works.