|
Catalina Wei made changes - 10/Aug/07 11:34 PM
same patch as the last patch, but using the new naming convention as recommended by the community.
Catalina Wei made changes - 11/Aug/07 02:53 AM
Catalina,
Thanks for the patch. A couple of questions and/or comments though... It looks like this updated code is only if we're working with an OpenJPAID oid and subs is true. I can understand the oid part, but what exactly is the subs boolean used for? I know this wasn't your original code, but a quick glance at the code shows a need for a javadoc update at least. You must have spent some time figuring out how this parameter is used. It would be helpful to put add to the javadoc for this method to explain what the subs parameter is used for (at least). Thanks. Also, I really dislike empty catch clauses. I can't tell if this was on purpose or an oversight. It also forces me to think through the logic whether this exception clause was necessary or not. I think the empty clause is okay, but we should at least put a comment in the clause indicating why we can safely ignore this exception. I also personally don't like the idea of comparing strings for the strategy type, but it looks like we're just following suit from the existing code. We can only change so much at a time, I suppose... :-) Thanks again, Kevin add block comments to the code.
Catalina Wei made changes - 14/Aug/07 04:27 AM
attached revised patch.
mvn clean install ran successful.
Catalina Wei made changes - 15/Aug/07 02:23 AM
Since Catalina doesn't quite have the necessary karma yet, I will resolve this Issue for her... :-) Thanks, Catalina, for the patch!
Kevin Sutter made changes - 16/Aug/07 02:49 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The testcase of the Annuity has FetchType EAGER set on both side of a OneToMany relation. An Annuity may have many Payouts.
I'd like to get some feedback from commiters before checking in this patch.
TCK verification is in process.