Hi, > 1. If I use SELECT ... FOR UPDATE will this lock the table and start a > transaction until I COMMIT or ROLLBACK (assuming AUTOCOMMIT is off)?
If it's the first statement of a transaction, then yes. Same as UPDATE, DELETE, INSERT. > 2. Is the BEGIN TRANSACTION syntax documented anywhere? It is not needed. See regular JDBC documentation, for example http://www.tutorialspoint.com/jdbc/jdbc-transactions.htm Regards, Thomas -- 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.
