Class JDBC4Connection

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.sql.Connection, java.sql.Wrapper

    public class JDBC4Connection
    extends JDBC3Connection
    • Constructor Detail

      • JDBC4Connection

        public JDBC4Connection​(java.lang.String url,
                               java.lang.String fileName,
                               java.util.Properties prop)
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
    • Method Detail

      • createStatement

        public java.sql.Statement createStatement​(int rst,
                                                  int rsc,
                                                  int rsh)
                                           throws java.sql.SQLException
        Specified by:
        createStatement in interface java.sql.Connection
        Specified by:
        createStatement in class JDBC3Connection
        Throws:
        java.sql.SQLException
        See Also:
        Connection.createStatement(int, int, int)
      • prepareStatement

        public java.sql.PreparedStatement prepareStatement​(java.lang.String sql,
                                                           int rst,
                                                           int rsc,
                                                           int rsh)
                                                    throws java.sql.SQLException
        Specified by:
        prepareStatement in interface java.sql.Connection
        Specified by:
        prepareStatement in class JDBC3Connection
        Throws:
        java.sql.SQLException
        See Also:
        Connection.prepareStatement(java.lang.String, int, int, int)
      • isClosed

        public boolean isClosed()
                         throws java.sql.SQLException
        Specified by:
        isClosed in interface java.sql.Connection
        Overrides:
        isClosed in class SQLiteConnection
        Throws:
        java.sql.SQLException
        See Also:
        Connection.isClosed()
      • unwrap

        public <T> T unwrap​(java.lang.Class<T> iface)
                     throws java.lang.ClassCastException
        Throws:
        java.lang.ClassCastException
      • isWrapperFor

        public boolean isWrapperFor​(java.lang.Class<?> iface)
      • createClob

        public java.sql.Clob createClob()
                                 throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • createBlob

        public java.sql.Blob createBlob()
                                 throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • createNClob

        public java.sql.NClob createNClob()
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • createSQLXML

        public java.sql.SQLXML createSQLXML()
                                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • isValid

        public boolean isValid​(int timeout)
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setClientInfo

        public void setClientInfo​(java.lang.String name,
                                  java.lang.String value)
                           throws java.sql.SQLClientInfoException
        Throws:
        java.sql.SQLClientInfoException
      • setClientInfo

        public void setClientInfo​(java.util.Properties properties)
                           throws java.sql.SQLClientInfoException
        Throws:
        java.sql.SQLClientInfoException
      • getClientInfo

        public java.lang.String getClientInfo​(java.lang.String name)
                                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getClientInfo

        public java.util.Properties getClientInfo()
                                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • createArrayOf

        public java.sql.Array createArrayOf​(java.lang.String typeName,
                                            java.lang.Object[] elements)
                                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException