I have seen few posts about this issue. It looks like I am experiencing it as well.
I am using OpenJPA 1.2/Java 1.5/MySQL 5.0. I am enchanting my classes during build time using Ant task. If I am using "Eager" fetch method, my code works just fine. If I am using "Lazy" method, then relation always null (and as far as I can see from logs, OpenJPA does not even bother to issue SQL query to try to fetch it). You comments will be highly appreciated, Andrei -- View this message in context: http://n2.nabble.com/OneToMany-and-Lazy-fetch-%3A-is-it-still-broken--tp2115281p2115281.html Sent from the OpenJPA Users mailing list archive at Nabble.com.