Re: Debugger Not Working?

2006-12-31 Thread Dain Sundstrom
On Dec 31, 2006, at 12:04 AM, Marc Prud'hommeaux wrote: I've never experienced this problem, but as a guess, are you running with dynamic enhancement (using the -javaagent flag)? If so, what happens if you enhance manually, and then run without the agent flag? Currently, I am, but I can

Re: Debugger Not Working?

2006-12-31 Thread Marc Prud'hommeaux
Dain- Do you have the data cache enabled? If so, can you disable it and see if it changes anything? I'm still guessing that this might be due to dynamic class generation, which the data cache sometimes does. If you enable verbose logging (e.g., by setting the property openjpa.Log:

RE: Debugger Not Working?

2006-12-31 Thread Patrick Linskey
Note that the datacache is enabled by default. To turn off, set openjpa.DataCache to false. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information

Generation of entity classes

2006-12-31 Thread Dain Sundstrom
I working on an implementation of the EJB cmp specification which uses JPA under the covers to implement the persistence. I have the basics working with hand written subclasses of the abstract cmp2 beans. I just wrote a code generator to replace my hand coded subclasses using ASM (which

Re: Generation of entity classes

2006-12-31 Thread Dain Sundstrom
Actually, never mind. Due to the interconnectedness of persistent classes (i.e., relationships), I need to generate all the classes at once and add them all to the class loader at the same time. This means my elegant solution is just broken :) -dain On Dec 31, 2006, at 3:12 PM, Dain