Class JDBC4Statement

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.sql.Statement, java.sql.Wrapper, Codes
    Direct Known Subclasses:
    CorePreparedStatement

    public class JDBC4Statement
    extends JDBC3Statement
    implements java.sql.Statement
    • Method Detail

      • unwrap

        public <T> T unwrap​(java.lang.Class<T> iface)
                     throws java.lang.ClassCastException
        Specified by:
        unwrap in interface java.sql.Wrapper
        Throws:
        java.lang.ClassCastException
      • isWrapperFor

        public boolean isWrapperFor​(java.lang.Class<?> iface)
        Specified by:
        isWrapperFor in interface java.sql.Wrapper
      • close

        public void close()
                   throws java.sql.SQLException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.sql.Statement
        Overrides:
        close in class JDBC3Statement
        Throws:
        java.sql.SQLException
        See Also:
        Statement.close()
      • isClosed

        public boolean isClosed()
        Specified by:
        isClosed in interface java.sql.Statement
      • closeOnCompletion

        public void closeOnCompletion()
                               throws java.sql.SQLException
        Specified by:
        closeOnCompletion in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • isCloseOnCompletion

        public boolean isCloseOnCompletion()
                                    throws java.sql.SQLException
        Specified by:
        isCloseOnCompletion in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • setPoolable

        public void setPoolable​(boolean poolable)
                         throws java.sql.SQLException
        Specified by:
        setPoolable in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • isPoolable

        public boolean isPoolable()
                           throws java.sql.SQLException
        Specified by:
        isPoolable in interface java.sql.Statement
        Throws:
        java.sql.SQLException