users@glassfish.java.net

Re: Configuring global transactions

From: <forums_at_java.net>
Date: Mon, 11 Mar 2013 06:06:54 -0500 (CDT)

The connection is not passed around, I look up my datasource in my session
bean, i.e. Context ctx = new InitialContext(); DataSource ds =
(DataSource)ctx.lookup("jdbc/myDatasource"); Connection conn =
ds.getConnection(); The entity beans use the same datasource, so I guessing
I've misconfigured something in my migration from Weblogic.

--
[Message sent by forum member 'riksweeney']
View Post: http://forums.java.net/node/895526