日期:2014-05-18 浏览次数:20883 次
Connection con = ... int[] data = ... PreparedStatement stmt= con.prepareStatement("insert into t_test(array_field) values(?)"); stmt.setObject(1, data,java.sql.Types.BINARY); stmt.execute();