You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by achuou <ac...@gmail.com> on 2009/12/22 17:32:35 UTC

Re: EAGER vs. LAZY loading - weird behaviour in OpenJPA 1.0.1

That is good post..well i am having a problem and it is driving me nuts.
i have a scenario in which each product it link to some other product.
table = product
 id (primary key),
 link(pointing to id) 
this link can and cannot be null.its kind of parent child realtion in one
table..after searching and found nothing i thought may b my design is bad so
i split the product table
table = product
id 

table = pr_link
prod_id ()
link_id ()
both are foreign keys from product table. it is one to one relation and i am
unable to fix it..please help thank you..
-- 
View this message in context: http://n2.nabble.com/EAGER-vs-LAZY-loading-weird-behaviour-in-OpenJPA-1-0-1-tp364201p4204430.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.