-
Notifications
You must be signed in to change notification settings - Fork 819
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support building with the 1.7 JDK. This is JDBC4.1, but it doesn't
have any changes that require JDK 1.7, so we don't need a whole set of jdbc41 files, we can just piggyback on the JDBC4 implementation.
- Loading branch information
Showing
18 changed files
with
332 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
PGPooledConnection.java | ||
PGPoolingDataSource.java | ||
PGSimpleDataSource.java | ||
PGConnectionPoolDataSource.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/*------------------------------------------------------------------------- | ||
* | ||
* Copyright (c) 2004-2008, PostgreSQL Global Development Group | ||
* | ||
* IDENTIFICATION | ||
* $PostgreSQL: pgjdbc/org/postgresql/ds/PGConnectionPoolDataSource.java,v 1.5 2008/01/08 06:56:27 jurka Exp $ | ||
* | ||
*------------------------------------------------------------------------- | ||
*/ | ||
package org.postgresql.ds; | ||
|
||
import javax.sql.ConnectionPoolDataSource; | ||
|
||
import org.postgresql.ds.common.*; | ||
|
||
/** | ||
* PostgreSQL implementation of ConnectionPoolDataSource. The app server or | ||
* middleware vendor should provide a DataSource implementation that takes advantage | ||
* of this ConnectionPoolDataSource. If not, you can use the PostgreSQL implementation | ||
* known as PoolingDataSource, but that should only be used if your server or middleware | ||
* vendor does not provide their own. Why? The server may want to reuse the same | ||
* Connection across all EJBs requesting a Connection within the same Transaction, or | ||
* provide other similar advanced features. | ||
* | ||
* <p>In any case, in order to use this ConnectionPoolDataSource, you must set the property | ||
* databaseName. The settings for serverName, portNumber, user, and password are | ||
* optional. Note: these properties are declared in the superclass.</p> | ||
* | ||
* <p>This implementation supports JDK 1.3 and higher.</p> | ||
* | ||
* @author Aaron Mulder (ammulder@chariotsolutions.com) | ||
*/ | ||
public class PGConnectionPoolDataSource | ||
extends @CONN_POOL_DS_CLASS@ | ||
implements ConnectionPoolDataSource | ||
{ | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
org/postgresql/ds/jdbc4/AbstractJdbc4ConnectionPoolDataSource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.postgresql.ds.jdbc4; | ||
|
||
import java.sql.SQLFeatureNotSupportedException; | ||
|
||
import org.postgresql.ds.jdbc23.AbstractJdbc23ConnectionPoolDataSource; | ||
|
||
public class AbstractJdbc4ConnectionPoolDataSource | ||
extends AbstractJdbc23ConnectionPoolDataSource | ||
{ | ||
|
||
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException | ||
{ | ||
throw org.postgresql.Driver.notImplemented(this.getClass(), "getParentLogger()"); | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.