大きなXMLデータをCLOBに格納し、CLOBを文字列に変換し直す必要があります
しかし、問題は私たちが使用していることです(Spring NamedParameterJdbc template)
SqlParameterSource paramSource = new BeanPropertySqlParameterSource(
positionResponsesDO);
this.jdbcTemplate.update(sql, paramSource);
PositionResponsesDOがgetおよびsetプロパティを持っている場所
private Clob xmlData;
次に、文字列データ(大)をClobに変換し、ClobをStringに変換する必要があります。私に最善の方法を提案してください。
WebAppなのでファイル操作が使えません