|
|
@ -155,7 +155,9 @@ public abstract class UpgradeDao extends AbstractBaseDao { |
|
|
|
throw new RuntimeException(e.getMessage(),e); |
|
|
|
throw new RuntimeException(e.getMessage(),e); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
conn.rollback(); |
|
|
|
if (null != conn) { |
|
|
|
|
|
|
|
conn.rollback(); |
|
|
|
|
|
|
|
} |
|
|
|
} catch (SQLException e1) { |
|
|
|
} catch (SQLException e1) { |
|
|
|
logger.error(e1.getMessage(),e1); |
|
|
|
logger.error(e1.getMessage(),e1); |
|
|
|
} |
|
|
|
} |
|
|
@ -312,7 +314,9 @@ public abstract class UpgradeDao extends AbstractBaseDao { |
|
|
|
throw new RuntimeException(e.getMessage(),e); |
|
|
|
throw new RuntimeException(e.getMessage(),e); |
|
|
|
} catch (SQLException e) { |
|
|
|
} catch (SQLException e) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
conn.rollback(); |
|
|
|
if (null != conn) { |
|
|
|
|
|
|
|
conn.rollback(); |
|
|
|
|
|
|
|
} |
|
|
|
} catch (SQLException e1) { |
|
|
|
} catch (SQLException e1) { |
|
|
|
logger.error(e1.getMessage(),e1); |
|
|
|
logger.error(e1.getMessage(),e1); |
|
|
|
} |
|
|
|
} |
|
|
@ -320,7 +324,9 @@ public abstract class UpgradeDao extends AbstractBaseDao { |
|
|
|
throw new RuntimeException(e.getMessage(),e); |
|
|
|
throw new RuntimeException(e.getMessage(),e); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
conn.rollback(); |
|
|
|
if (null != conn) { |
|
|
|
|
|
|
|
conn.rollback(); |
|
|
|
|
|
|
|
} |
|
|
|
} catch (SQLException e1) { |
|
|
|
} catch (SQLException e1) { |
|
|
|
logger.error(e1.getMessage(),e1); |
|
|
|
logger.error(e1.getMessage(),e1); |
|
|
|
} |
|
|
|
} |
|
|
|