X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 562379DC820 for ; Wed, 18 Jan 2006 15:27:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 10892-05-2 for ; Wed, 18 Jan 2006 15:27:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id AF58C9DCA1A for ; Wed, 18 Jan 2006 15:26:57 -0400 (AST) Received: (qmail 7637 invoked from network); 18 Jan 2006 19:26:58 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 18 Jan 2006 19:26:58 -0000 In-Reply-To: <43CE8FC7.9020603@gmail.com> References: <43CE8FC7.9020603@gmail.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3158C799-1179-484B-86E2-306FB632ED09@fastcrypt.com> Cc: pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: 8.1 JDBC Driver Does Not Compile Date: Wed, 18 Jan 2006 14:26:57 -0500 To: Sergei Dubov X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.126 required=5 tests=[AWL=0.126] X-Spam-Score: 0.126 X-Spam-Level: X-Archive-Number: 200601/93 X-Sequence-Number: 14544 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 > createQueryObject(java.lang.Class) 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 > createQueryObject(java.lang.Class) 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 > createQueryObject(java.lang.Class) 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 > createQueryObject(java.lang.Class) 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 > createQueryObject(java.lang.Class) 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