i have program calls insert function in following.
insertorder(); for(int = 0; < 3 ; i++){ insertitem(); } my insert statements use mybatis.
if inserorder() error program stop. insertitem() error insertorder executed , insert database.
i want control if of these insert error, nothing insert database. can me it?
Comments
Post a Comment