Hi mvatkina,
thanks for your reply.
I'm using
EntityManagerFactory emf = Persistence.createEntityManagerFactory("imageGalleryPersistenceUnit");
EntityManager em = emf.createEntityManager();
As written in my original post, I've sent this request to the OpenJPA mailing list; they recommended to use the injection functionalities; I'll try that now...
kniffte
[Message sent by forum member 'kniffte']
http://forums.java.net/jive/thread.jspa?messageID=478068