That makes sense thanks. Unfortunately means i have to make to calls to the database, once in the inner function/transaction and the second for the outer function - but i guess i can live with that.
Cheers
JOHN
[Message sent by forum member 'jsl123' (jsl123)]
http://forums.java.net/jive/thread.jspa?messageID=218281