另外建一张表来存这些信息,用ID标识信息归属,然后用一个字段如sequence来标识读出来的时候要如何组合起来.

解决方案 »

  1.   

    CLOB,oracle的
    /**写入CLOB数据
     * @param data
     * @param name
     * @param rs
     * @throws SQLException
     * @throws IOException
     * 处理CLOB数据【企业介绍】的添加,
     */
    private void writeCLOBData(String data,String name,ResultSet rs) throws SQLException, IOException{
    CLOB temp = (CLOB)rs.getClob(name);
    if((data != null)){
    Writer writer = temp.getCharacterOutputStream();
    writer.write(data);
    writer.flush();
    writer.close();
    }
    }
    另外读取和修改的时候都需要用流