java - MyBatis mapper exception not caught when running multiple statements in one insert tag -


i using mybatis execute set of queries on database. insert tag looks below.

<insert id="dosomething">    insert statement....;    insert statement...    update statement.....;    update statement... </insert> 

this method being invoked spring task defined in spring file run in interval of 10 seconds.

weird thing happening whenever exception due data base in update statement. don't exception caught @ java code called. , task stops running point , never come back.

is because of me trying update statement in insert tag? causing task stop ever?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -