I'm trying to using MVCC mode. but i found when i did the update using
JdbcPreparedStatement, it synced the database object:

Command.executeUpdate(){
...
Database database = session.getDatabase();
Object sync = database.isMultiThreaded() ? (Object) session : (Object)
database;
...
synchronized (sync) {

...
}

Then, even if inside, it used a share lock in table level for "delete,
insert and update", it still can not support multi-threads to do
update/insert. Does it make sense? Or how can I use multi-threads to
do update at same time under MVCC mode?

thanks.


-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to