users@glassfish.java.net

OSGI bundle - Lazy Loading entities in seperate bundle fails to deploy

From: <glassfish_at_javadesktop.org>
Date: Mon, 19 Jul 2010 21:34:05 PDT

Hello again,

To simplify the situation I have an API bundle that contains interfaces and @Entity beans. I then have an implementation bundle that contains the persistence.xml

When OneToOne or ManyToOne relationships are set to lazy fetch it would seem that the weaver does not enhance the entity classes. I am seeing stacks of NoSuchMethod exceptions at deployment time.

Doing some searching - I found a reference to a Glassfish V3 problem that is very similar.

http://forums.java.net/jive/thread.jspa?messageID=389324&#389324

Any thoughts? Is the packaging acceptable?

Cheers
Cameron
[Message sent by forum member 'cameronr']

http://forums.java.net/jive/thread.jspa?messageID=478030