db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Veaceslav Chicu ...@infologic.fr>
Subject updatable resultSet
Date Wed, 05 Oct 2005 21:06:03 GMT
Hello,

why this is not working?
PreparedStatement st = conn.prepareStatement(					"select person_id,
name, surname from tiers.person for update",		
ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
...
rs.setObject(1, "aaa");
rs.updateRow();

in embeded mode?

I have a tableModel for JTable, so I can't directly use it with result
set, any ideas?

thank you,
Slavic
P.S. I don't want to use, hibernate, ejb, custom cache, I need as thin
as possible swing client, is this possible?

Mime
View raw message