Thread: pgsql/src/interfaces/jdbc/org/postgresql Conne ...

pgsql/src/interfaces/jdbc/org/postgresql Conne ...

From
Bruce Momjian - CVS
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.org    01/08/10 10:42:07

Modified files:
    src/interfaces/jdbc/org/postgresql: Connection.java
                                        Statement.java
    src/interfaces/jdbc/org/postgresql/jdbc1: Statement.java
    src/interfaces/jdbc/org/postgresql/jdbc2: Statement.java

Log message:
    Attached is a patch to remove some redundant code in the JDBC driver.

    * Merges identical code from org.postgresql.jdbc[1|2].Statement into
    org.postgresql.Statement.
    * Moves escapeSQL() method from Connection to Statement (the only place
    it's used)
    * Minor cleanup of the new isolation level stuff.
    * Minor cleanup of version string handling.

    Anders Bengtsson