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
{
	/**
	 * @param inputStream
	 * @return a java.sql.Blob instance
	 */
	public static java.sql.Blob newBlob( InputStream inputStream )
	{
		return new BlobHelper( inputStream );
	}
	/**
	 * For some data base, such as MS access, the blob data can not be retrieved
	 * from and instead it can be retrieved by getBinaryStream method.
	 */
	private static class BlobHelper implements java.sql.Blob
	{
		
		private InputStream inputStream;
		private boolean isInit;
		private int blobLength = -1;
		private byte[] blobContent = null;
		
		/**
		 * @param inputStream
		 */
		BlobHelper( InputStream inputStream )
		{