Bug 196608 Compile error when i switch jdk from 1.5 to 1.6
When i switch jdk from 1.5 to 1.6, there are 2 compile errors in plugin: org.eclipse.birt.report.data.oda.jdbc here is the error message: - The type SqlBlobUtil.BlobHelper must implement the inherited abstract method Blob.free() - The type SqlBlobUtil.BlobHelper must implement the inherited abstract method Blob.getBinaryStream(long, long) One more thing, the jdk version is 1.6.0_02. Thanks.
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/SqlBlobUtil.java
public long position( byte[] pattern, long start ) throws SQLException
		{
			throw new SQLException( "Unsupported in this database" );
		}
		/*
		 * @see java.sql.Blob#getBinaryStream()
		 */
		public InputStream getBinaryStream( ) throws SQLException
		{
			init( );
						
			return new ByteArrayInputStream( this.blobContent );
		}
		/*
		 * @see java.sql.Blob#setBinaryStream(long)
		 */
		public OutputStream setBinaryStream( long pos ) throws SQLException
		{
			throw new SQLException( "Unsupported in this database" );
		}
		/*
		 * @see java.sql.Blob#position(java.sql.Blob, long)
		 */
		public long position( Blob pattern, long start ) throws SQLException
		{
			throw new SQLException( "Unsupported in this database" );
		}
	}
}