Make your own free website on Tripod.com

InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: commit and rollback


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.