Ted Schrader wrote:

Hi John,

I'm not sure if this will do it, but try this:

<select id="myQuery" resultClass="java.lang.Integer">
  SELECT id
      FROM ID_TABLE
</select>

Spot on! It worked fine, thanks. I was getting confused about what the result class meant, as this actually returns a List of Integers, not an Integer.

John


--
==============================================
John Moore  -  Norwich, UK  -  [EMAIL PROTECTED]
==============================================

Reply via email to