ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt" <zkoppanyl...@intland.com>
Subject groupby and null values
Date Tue, 06 Dec 2005 12:29:22 GMT
Hi,

I use "groupBy" in resultMap and because I use LEFT OUTTER JOIN-s I get also
NULL values into the list associated to the result property ("categories").

Because ArrayList is created by ibatis, how can I eliminate the null values?
I have several List-s, thus I don't want to do that for all list manually.

<resultMap ... groupBy="id">
...
	<result property="categories" resultMap="Cltr.categoriesResult"/>
  </resultMap>

Zsolt




Mime
View raw message