public boolean isDocDateExistsInTable(String docTableName) throws SQLException {
        ArrayList<String> columnNames = new ArrayList<String>();
        Connection conn = DriverManager.getConnection(ConnectionController.getConnParams);
        String query = "select COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME ='" + docTableName + "'";
        Statement stat = null;
        ResultSet rs = null;
        String searchedValue = "DocDate";
        try {
            conn.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
            conn.setAutoCommit(false);
            stat = conn.createStatement();
            rs = stat.executeQuery(query);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            while (rs.next()) {
                int i = 1;
                while (i <= colCount) {
                    columnNames.add(rs.getString(i++));
                }
            }
            conn.commit();
            for (String value : columnNames) {
                if (value.contentEquals(searchedValue))
                    return true;
            }

        } catch (SQLException e) {
            System.out.println(e);

        } finally {
            JDBC_Utils.closeQuietly(rs);
            JDBC_Utils.closeQuietly(conn);
            JDBC_Utils.closeQuietly(stat);
        }
        return false;
    }