摘要:
It's easy to store any serializable object in a blob in a MySQL database, if you use a PreparedStatement: When you try to retrieve the object, it gets 阅读全文
摘要:
import java.io.*; import java.sql.*; public class DBTest { public void test() throws Exception { //create table table1 (fld1 varchar2(10), fld_blob long raw); String filename = ... 阅读全文
摘要:
Java Exception: 1、Error 2、Runtime Exception 运行时异常3、Exception 4、throw 用户自定义异常 异常类分两大类型:Error类代表了编译和系统的错误,不允许捕获;Exception类代表了标准Java库方法所激发的异常。Exception类还 阅读全文
摘要:
阅读全文