Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d600a7

Browse files
author
Barry Lind
committed
Second phase of restructuring to add jdbc3 support.
1 parent43515ba commit8d600a7

13 files changed

+1072
-1950
lines changed

‎src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java

Lines changed: 834 additions & 2 deletions
Large diffs are not rendered by default.

‎src/interfaces/jdbc/org/postgresql/jdbc1/CallableStatement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* @see ResultSet
4040
*/
4141

42-
publicclassCallableStatementextendsPreparedStatementimplementsjava.sql.CallableStatement
42+
publicclassCallableStatementextendsJdbc1PreparedStatementimplementsjava.sql.CallableStatement
4343
{
4444
/*
4545
* @exception SQLException on failure

‎src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1Connection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
importorg.postgresql.Field;
77
importorg.postgresql.util.PSQLException;
88

9-
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/Jdbc1Connection.java,v 1.1 2002/07/23 03:59:55 barry Exp $
9+
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/Jdbc1Connection.java,v 1.2 2002/07/24 22:08:40 barry Exp $
1010
* This class implements the java.sql.Connection interface for JDBC1.
1111
* However most of the implementation is really done in
1212
* org.postgresql.jdbc1.AbstractJdbc1Connection
@@ -21,7 +21,7 @@ public java.sql.Statement createStatement() throws SQLException
2121

2222
publicjava.sql.PreparedStatementprepareStatement(Stringsql)throwsSQLException
2323
{
24-
returnneworg.postgresql.jdbc1.PreparedStatement(this,sql);
24+
returnneworg.postgresql.jdbc1.Jdbc1PreparedStatement(this,sql);
2525
}
2626

2727
//BJL TODO - merge callable statement logic from jdbc2 to jdbc1
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
packageorg.postgresql.jdbc1;
2+
3+
4+
importjava.sql.*;
5+
6+
publicclassJdbc1PreparedStatementextendsAbstractJdbc1StatementimplementsPreparedStatement
7+
{
8+
9+
publicJdbc1PreparedStatement(Jdbc1Connectionconnection,Stringsql)throwsSQLException
10+
{
11+
super(connection,sql);
12+
}
13+
14+
}

‎src/interfaces/jdbc/org/postgresql/jdbc1/Jdbc1Statement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
importjava.sql.*;
55

6-
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/Jdbc1Statement.java,v 1.1 2002/07/23 03:59:55 barry Exp $
6+
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/Jdbc1Statement.java,v 1.2 2002/07/24 22:08:40 barry Exp $
77
* This class implements the java.sql.Statement interface for JDBC1.
88
* However most of the implementation is really done in
99
* org.postgresql.jdbc1.AbstractJdbc1Statement
@@ -13,7 +13,7 @@ public class Jdbc1Statement extends org.postgresql.jdbc1.AbstractJdbc1Statement
1313

1414
publicJdbc1Statement (Jdbc1Connectionc)
1515
{
16-
connection =c;
16+
super(c);
1717
}
1818

1919
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp