From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Sergei Dubov <sdubov(at)gmail(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: 8.1 JDBC Driver Does Not Compile |
Date: | 2006-01-18 19:26:57 |
Message-ID: | 3158C799-1179-484B-86E2-306FB632ED09@fastcrypt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Sergei,
It would appear that Sun has extended the interface yet again. You
will need to create a jdbc4 ? package and implement all of those
unimplemented functions
Dave
On 18-Jan-06, at 1:58 PM, Sergei Dubov wrote:
> Hi guys,
>
> I am running the latest J2SE Mustang build 1.6-b67 and trying to
> compile the 8.1-404 JDBC driver. Attached are the errors that I get.
>
> Any help is much appreciated.
>
> Thanks,
>
> Serge.
>
> Information: Note: Some input files use unchecked or unsafe
> operations.
> Information: Compilation completed with 34 errors and 65 warnings
> Information: 34 errors
> Information: 65 warnings
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \Jdbc3Statement.java
> Error: Error: line (21)org.postgresql.jdbc3.Jdbc3Statement is
> not abstract and does not override abstract method isClosed() in
> java.sql.Statement
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \Jdbc3Connection.java
> Error: Error: line (21)org.postgresql.jdbc3.Jdbc3Connection is
> not abstract and does not override abstract method
> <T>createQueryObject(java.lang.Class<T>) in java.sql.Connection
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\ds
> \PGSimpleDataSource.java
> Error: Error: line (28)org.postgresql.ds.PGSimpleDataSource is
> not abstract and does not override abstract method
> <T>createQueryObject(java.lang.Class<T>) in javax.sql.DataSource
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc2
> \Jdbc2Statement.java
> Error: Error: line (21)org.postgresql.jdbc2.Jdbc2Statement is
> not abstract and does not override abstract method isClosed() in
> java.sql.Statement
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc2
> \Jdbc2PreparedStatement.java
> Error: Error: line (14)
> org.postgresql.jdbc2.Jdbc2PreparedStatement is not abstract and
> does not override abstract method isPoolable() in
> java.sql.PreparedStatement
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc2
> \Jdbc2CallableStatement.java
> Error: Error: line (19)
> org.postgresql.jdbc2.Jdbc2CallableStatement is not abstract and
> does not override abstract method setClob
> (java.lang.String,java.sql.Clob) in java.sql.CallableStatement
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc2
> \Jdbc2Connection.java
> Error: Error: line (21)org.postgresql.jdbc2.Jdbc2Connection is
> not abstract and does not override abstract method
> <T>createQueryObject(java.lang.Class<T>) in java.sql.Connection
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \Jdbc3DatabaseMetaData.java
> Error: Error: line (13)
> org.postgresql.jdbc3.Jdbc3DatabaseMetaData is not abstract and does
> not override abstract method providesQueryObjectGenerator() in
> java.sql.DatabaseMetaData
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\ds\common
> \PooledConnectionImpl.java
> Error: Error: line (30)
> org.postgresql.ds.common.PooledConnectionImpl is not abstract and
> does not override abstract method removeStatementEventListener
> (javax.sql.StatementEventListener) in javax.sql.PooledConnection
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\ds
> \PGConnectionPoolDataSource.java
> Error: Error: line (39)
> org.postgresql.ds.PGConnectionPoolDataSource is not abstract and
> does not override abstract method getQueryObjectGenerator() in
> javax.sql.CommonDataSource
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\ds
> \PGPoolingDataSource.java
> Error: Error: line (51)org.postgresql.ds.PGPoolingDataSource is
> not abstract and does not override abstract method
> <T>createQueryObject(java.lang.Class<T>) in javax.sql.DataSource
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc2
> \Jdbc2ResultSetMetaData.java
> Error: Error: line (14)
> org.postgresql.jdbc2.Jdbc2ResultSetMetaData is not abstract and
> does not override abstract method isWrapperFor(java.lang.Class<?>)
> in java.sql.Wrapper
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3g
> \Jdbc3gBlob.java
> Error: Error: line (15)org.postgresql.jdbc3g.Jdbc3gBlob is not
> abstract and does not override abstract method getBinaryStream
> (long,long) in java.sql.Blob
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc2
> \Jdbc2Clob.java
> Error: Error: line (13)org.postgresql.jdbc2.Jdbc2Clob is not
> abstract and does not override abstract method getCharacterStream
> (long,long) in java.sql.Clob
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc2
> \Jdbc2Blob.java
> Error: Error: line (13)org.postgresql.jdbc2.Jdbc2Blob is not
> abstract and does not override abstract method getBinaryStream
> (long,long) in java.sql.Blob
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3g
> \Jdbc3gStatement.java
> Error: Error: line (21)org.postgresql.jdbc3g.Jdbc3gStatement is
> not abstract and does not override abstract method isClosed() in
> java.sql.Statement
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3g
> \Jdbc3gPreparedStatement.java
> Error: Error: line (14)
> org.postgresql.jdbc3g.Jdbc3gPreparedStatement is not abstract and
> does not override abstract method isPoolable() in
> java.sql.PreparedStatement
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3g
> \Jdbc3gCallableStatement.java
> Error: Error: line (15)
> org.postgresql.jdbc3g.Jdbc3gCallableStatement is not abstract and
> does not override abstract method setClob
> (java.lang.String,java.sql.Clob) in java.sql.CallableStatement
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3g
> \Jdbc3gConnection.java
> Error: Error: line (21)org.postgresql.jdbc3g.Jdbc3gConnection
> is not abstract and does not override abstract method
> <T>createQueryObject(java.lang.Class<T>) in java.sql.Connection
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3g
> \Jdbc3gClob.java
> Error: Error: line (13)org.postgresql.jdbc3g.Jdbc3gClob is not
> abstract and does not override abstract method getCharacterStream
> (long,long) in java.sql.Clob
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3g
> \Jdbc3gResultSet.java
> Error: Error: line (23)org.postgresql.jdbc3g.Jdbc3gResultSet is
> not abstract and does not override abstract method
> updateNCharacterStream(java.lang.String,java.io.Reader,int) in
> java.sql.ResultSet
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\xa
> \PGXADataSource.java
> Error: Error: line (18)org.postgresql.xa.PGXADataSource is not
> abstract and does not override abstract method
> getQueryObjectGenerator() in javax.sql.CommonDataSource
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \Jdbc3ResultSet.java
> Error: Error: line (23)org.postgresql.jdbc3.Jdbc3ResultSet is
> not abstract and does not override abstract method
> updateNCharacterStream(java.lang.String,java.io.Reader,int) in
> java.sql.ResultSet
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3g
> \Jdbc3gDatabaseMetaData.java
> Error: Error: line (13)
> org.postgresql.jdbc3g.Jdbc3gDatabaseMetaData is not abstract and
> does not override abstract method providesQueryObjectGenerator() in
> java.sql.DatabaseMetaData
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3g
> \Jdbc3gResultSetMetaData.java
> Error: Error: line (14)
> org.postgresql.jdbc3g.Jdbc3gResultSetMetaData is not abstract and
> does not override abstract method isWrapperFor(java.lang.Class<?>)
> in java.sql.Wrapper
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\xa
> \PGXAConnection.java
> Error: Error: line (29)org.postgresql.xa.PGXAConnection is not
> abstract and does not override abstract method
> removeStatementEventListener(javax.sql.StatementEventListener) in
> javax.sql.PooledConnection
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \Jdbc3PreparedStatement.java
> Error: Error: line (14)
> org.postgresql.jdbc3.Jdbc3PreparedStatement is not abstract and
> does not override abstract method isPoolable() in
> java.sql.PreparedStatement
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \Jdbc3CallableStatement.java
> Error: Error: line (15)
> org.postgresql.jdbc3.Jdbc3CallableStatement is not abstract and
> does not override abstract method setClob
> (java.lang.String,java.sql.Clob) in java.sql.CallableStatement
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \Jdbc3Clob.java
> Error: Error: line (13)org.postgresql.jdbc3.Jdbc3Clob is not
> abstract and does not override abstract method getCharacterStream
> (long,long) in java.sql.Clob
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc2
> \Jdbc2DatabaseMetaData.java
> Error: Error: line (13)
> org.postgresql.jdbc2.Jdbc2DatabaseMetaData is not abstract and does
> not override abstract method providesQueryObjectGenerator() in
> java.sql.DatabaseMetaData
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \PSQLParameterMetaData.java
> Error: Error: line (20)
> org.postgresql.jdbc3.PSQLParameterMetaData is not abstract and does
> not override abstract method isWrapperFor(java.lang.Class<?>) in
> java.sql.Wrapper
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \Jdbc3Blob.java
> Error: Error: line (15)org.postgresql.jdbc3.Jdbc3Blob is not
> abstract and does not override abstract method getBinaryStream
> (long,long) in java.sql.Blob
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc3
> \Jdbc3ResultSetMetaData.java
> Error: Error: line (14)
> org.postgresql.jdbc3.Jdbc3ResultSetMetaData is not abstract and
> does not override abstract method isWrapperFor(java.lang.Class<?>)
> in java.sql.Wrapper
> C:\Documents and Settings\Kyrill Alyoshin\My Documents\work\java\lib
> \postgres\postgresql-jdbc-8.1-404.src\org\postgresql\jdbc2
> \Jdbc2ResultSet.java
> Error: Error: line (23)org.postgresql.jdbc2.Jdbc2ResultSet is
> not abstract and does not override abstract method
> updateNCharacterStream(java.lang.String,java.io.Reader,int) in
> java.sql.ResultSet
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2006-01-19 06:54:59 | Re: 8.1 JDBC Driver Does Not Compile |
Previous Message | Mark Lewis | 2006-01-18 19:13:33 | Re: PGConnection (LargeObject) / JNDI Tomcat Issue |