Hello forum,

I'd like to do the following: I have a java.util.HashMap  on Java 1.4 which
maps IDs (type Integer) to Strings. I'd like to create a SQL statement like

INSERT INTO foo
   SELECT #id#, #str#
   UNION ALL
   SELECT #id#, #str#
   UNION ALL
   SELECT #id#, #str#
[...]

i.e., I'd like to use a <iterate> over the java.util.HashMap. My tries were
unsuccessful so far, can someone give me a pointer?

Thanks in advance,
Best Regards,
Johannes
-- 
View this message in context: 
http://www.nabble.com/iBATIS-iterate-over-parameter-java.util.Hashmap-tp25364744p25364744.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org

Reply via email to