| @Resource(mappedName = "java:/someDatasource") | DataSource someDataSource; |
Then you can get the Connection from that an do "normal" jdbc Connection conn; | try { | conn = someDataSource.getConnection(); | } catch (SQLException e) { | throw new SomeExceptions_Exception( | "Could not get connection", null, e); | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107237#4107237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107237 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user