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
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.data.oda.jdbc;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.sql.Blob;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
/**
 * Generate a new java.sql.Blob instance by accept input stream as parameter.
 */
public class SqlBlobUtil