I need to get to the real JDBC Connection object so that I can do some processing using Postgresql extensions (in particular the LargeObject support). I do not expect OpenJPA to understand what I am doing, but I need to access the Connection object and I need what I do to be in the same transaction as that used by OpenJPA (so also it needs to be the same transaction).
The manual suggests:- OpenJPAEntityManagerFactory kemf = OpenJPAPersistence.cast(emf); OpenJPAConfiguration conf = kemf.getConfiguration(); on page 190, but kemf does not have a getConfiguration method according to Eclipse (using OpenJPA 1.0.2). The OpenJPAConfiguration javadoc is not much use either in that it does tell me where to get it from. Any ideas? David
