That explains the reason why you are not seeing the error message when you are using connection.commit in the code deployed on Weblogic
In weblogic, anyway, it can run EJB->DAO well with one phase driver although don't know how...since you're familiar with was, I can only use XA and UserTransaction in EJB.
In websphere, if using one phase driver class "oracle.jdbc.pool.OracleConnectionPoolDataSource", there will be below exception:
javax.resource.ResourceException: java.sql.SQLException: enlist: caught Exception
"oracle.jdbc.driver.OracleDriver" and "oracle.jdbc.OracleDriver" (which mentioned in the weblogic link provided by you) can not be set in websphere because there is below exception when "Test connection":
Test connection failed for data source xxxx on server xxxxsvr at node xxxxnode with the following exception: java.lang.Exception: DSRA8101E: DataSource class cannot be used as one-phase: ClassCastException: oracle.jdbc.driver.OracleDriver, error code: NOT_A_1_PHASE_DS. View JVM logs for further details.
Otherwise, is there any differece between "Data sources" and "Data sources (Version 4)", I'm using "Data sources" (EJB 2.0), is it ok?