This content has been marked as final.
Show 1 reply
-
1. Re: WrapperDataSource instead of OracleDatasource in JBoss AS7
mayerw01 Jun 29, 2015 6:02 AM (in response to gauravgkdubey)What do you mean with ' wrapperdatasource object'? Please give an example. But the @Resource annotation should inject a DataSource object. You should then get a Connection object via a driver.getConnection(name, password) call.
But why don't you just use the JPA EntityManager which might be more convenient?