Class ConnectionUtils


  • public final class ConnectionUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean attemptClose​(java.sql.Connection con)  
      static boolean attemptRollback​(java.sql.Connection con)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • attemptClose

        public static boolean attemptClose​(java.sql.Connection con)
        Returns:
        false iff and Exception occurred while trying to close this object.
      • attemptRollback

        public static boolean attemptRollback​(java.sql.Connection con)