ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Bauld <bau...@cpsc.ucalgary.ca>
Subject Is there a way to use right and left joins in a N+1 ?
Date Mon, 29 May 2006 21:36:11 GMT
I am trying to get a query to run that has the following
Get a list of stakeholders
Each stakeholder can have many votes

I want all stakeholders even if they do not have a vote.

I have the query done and will get all stakeholders and all of their 
votes loaded properly. But if a stakeholder has no votes ibatis explodes 
because it cannot assign any votes to that stakeholder. How can I get 
around these null values and have it build a stakeholder object and not 
load it with votes ?

 - Eric

View raw message