How to persist the changes, even an error is occured with in try catch in flyway? -


i using flyway , have procedure, migrate employees. in procedure using try/catch block , using begin/commit transaction within while loop of processing employee. if error occurring row, skip next employee. after processing employees, flyway rolling entire migration if there exception in @ least 1 row. there solution persist employees being migrated successfully.

flyway rolls if sql exception thrown. double-check code make sure correct.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -