本文整理匯總了Java中javax.sql.rowset.serial.SerialBlob.free方法的典型用法代碼示例。如果您正苦於以下問題:Java SerialBlob.free方法的具體用法?Java SerialBlob.free怎麽用?Java SerialBlob.free使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類javax.sql.rowset.serial.SerialBlob
的用法示例。
在下文中一共展示了SerialBlob.free方法的12個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: test19
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test19() throws Exception {
SerialBlob sb = new SerialBlob(bytes);
sb.free();
SerialBlob sb2 = (SerialBlob) sb.clone();
InputStream is = sb2.getBinaryStream(1, 3);
}
示例2: test
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test
public void test() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
}
示例3: test01
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test01() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.getBinaryStream();
}
示例4: test02
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test02() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.getBinaryStream(1, 5);
}
示例5: test03
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test03() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.getBytes(1, 1);
}
示例6: test04
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test04() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.length();
}
示例7: test10
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test10() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.truncate(1);
}
示例8: test06
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test06() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.position(new StubBlob(), 1);
}
示例9: test07
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test07() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.setBinaryStream(5);
}
示例10: test08
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test08() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.setBytes(1, new byte[5]);
}
示例11: test09
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test09() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.setBytes(1, new byte[10], 0, 5);
}
示例12: test05
import javax.sql.rowset.serial.SerialBlob; //導入方法依賴的package包/類
@Test(expectedExceptions = SerialException.class)
public void test05() throws Exception {
SerialBlob sb = new SerialBlob(new StubBlob());
sb.free();
sb.position(new byte[5], 1);
}