TomohitoNakayama wrote: > Hello. > > Thank you for your advise. > > I have some unconfortable feeling around rollback ....
Just a bit of history. It used to be with Cloudscape that you could close a connection without rolling back. The rollback would be automatic. In Derby you have to do an explicit rollback before closing the connection if there is a transaction. That is why the rollback is there in Database.close().