Re: Using fetch plan cause an Exception and a strange behavior

2009-07-29 Thread Jean-Baptiste BRIAUD -- Novlog
In fact, I have a proxy issue. The proxy of an attribute that didn't get retreive (it is wanted) raise null pointer exception when corresponding accessor get called instead of returning null. Any idea to deal with that ? On Jul 29, 2009, at 23:38 , Jean-Baptiste BRIAUD -- Novlog wrote: Hi

Using fetch plan cause an Exception and a strange behavior

2009-07-29 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, I'm facing an exception since I used fetch plan. This is very strange, one accessor of my class return null when using fetch plan and the correct value without using fetch plan. (fetch plan, include that value) More strange, when using fetch plan, in the debugger, the value look like th

Re: Dynamic fetch plan question

2009-07-29 Thread Jean-Baptiste BRIAUD -- Novlog
On Jul 29, 2009, at 16:13 , Jean-Baptiste BRIAUD -- Novlog wrote: Hi, I'm reading doc on fetch plan and fetch group (I discover that feature). What I want to do is to dynamically specify the attribute (atomic or not) for a query in order to get back a List with partial values rather than

AW: update an remove in distributed environments

2009-07-29 Thread Scherer, Annette
This works - thank you Annette Scherer Abteilung Informatik -Ursprüngliche Nachricht- Von: Pinaki Poddar [mailto:ppod...@apache.org] Gesendet: Dienstag, 28. Juli 2009 20:56 An: users@openjpa.apache.org Betreff: Re: update an remove in distributed environments merge() returns the upd

Dynamic fetch plan question

2009-07-29 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, I'm reading doc on fetch plan and fetch group (I discover that feature). What I want to do is to dynamically specify the attribute (atomic or not) for a query in order to get back a List with partial values rather than a List. I feel it is possible reading the doc, but there are still som

Re: enhancing entity which is a subclass

2009-07-29 Thread pdd
Thanks a lot Rick. It worked! Rick Curtis wrote: > > After looking at the spec, it looks like you should be using the > mapped-superclass XML descriptor on the UserModelBaseImpl class and > com.example.model.impl.UserModelImpl needs to be added to your list of > persistent classes. See section

Re: Type of query's result

2009-07-29 Thread Jean-Baptiste BRIAUD -- Novlog
OK, I'll digg that way, it sound very interesting ! I hope fetch group can be assigned dynamically, if yes, as far as I understood it, it will beautifully solve my problem. On Jul 28, 2009, at 23:08 , Craig L Russell wrote: Hi, If what you want is the result as an A with some number of fiel