openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <craig.russ...@oracle.com>
Subject Re: No error message while I would wait for one
Date Sun, 06 Mar 2011 00:36:41 GMT
Hi,

Feel free to file a JIRA with a reproducible test case. Even better,  
attach a patch. ;-)

Craig

On Mar 5, 2011, at 12:46 PM, Jean-Baptiste BRIAUD -- Novlog wrote:

> Hi,
>
> 2 persistent classes :
> A
> B extends A.
>
> A have the primary key : id.
>
> I was using fetch plan to include id but with the wrong class.
> I badly added a fetch plan for B.class, id.
>
> id was null, because it was finally not included in the fetch plan.
> This is OK but when I build the fetch plan, why not raising an error  
> message with something like :
> "no attribute id on B".
>
> It took me ages to find my error.
> After I added the correct fetch plan : A.class, id, everything works  
> fine.
>
> What do you think ?

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@oracle.com
P.S. A good JDO? O, Gasp!


Mime
View raw message