users@glassfish.java.net

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

From: Mitesh Meswani <mitesh.meswani_at_oracle.com>
Date: Tue, 20 Jul 2010 00:51:23 -0700

  I am not able to deduct what packaging are you using. Can you post
more details on your packaging and how you are deploying.

-Mitesh
On 7/19/2010 9:34 PM, glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>