If I use rollback after executeUpdate(Alter table....) the rollback dont wark.
I can not use rollback and ALTER TABLE? Or you have a solution?
For me is necessary Alter Table but if the user press the "cancel button" I want to use Rollback.
|
You can't. According to SQL standard, create/drop/alter sql can't be rollbacked, and will trigger commit automatically. Only insert/delete/update can be rollbacked.
|