Ashish,
>I am facing quite a weird problem. Whenever a change is made to InstantdB
>database, it seems like it is committed straight away. So, even if you
>rollback a connection or a statement, it does not rollback.
What you are seeing is autoCommit in action. If you want multiple changes in the one
transaction you need to setAutoCommit(false) on the connection. All JDBC connections are
supposed to default to autoCommit true (InstantDB is behaving correctly).
Regards,
Peter Yuill
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|