could you try a sample (default user will have write permission to the table) and user-2 does not have write permission
[ ds.getConnection("user-2","password") ]
to the table and see whether it works ?
[Message sent by forum member 'jr158900' (jr158900)]
http://forums.java.net/jive/thread.jspa?messageID=232037