openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marina Vatkina <Marina.Vatk...@Sun.COM>
Subject Re: provide an actual JDBC connection?
Date Fri, 27 Apr 2007 03:18:36 GMT
Can you pass a connection from em to the other side instead?

tbee wrote:
> djencks wrote:
>>You can supply the datasource instance in a PersistenceUnitInfo, but  
>>I certainly hope you can't provide a connection.
>>Are you running inside a javaee app server?  (not standalone tomcat)  
>>If so there's a very good chance that all the connection handles  
>>obtained within the same jta transaction actually use the same  
>>physical connection to the database.  Geronimo certainly does this.
> No, stand alone fat client. And I could hackup a datasource instead.

View raw message