谢谢,我加了个属性
private HptGuideDocMapper rowMapper = new HptGuideDocMapper();
private static final class HptGuideDocMapper implements
ParameterizedRowMapper<HptGuideDoc>{
public HptGuideDoc mapRow(ResultSet rs, int arg1) throws SQLException{
HptGuideDoc hptGuideDoc = new HptGuideDoc();
LobHandler lob = new OracleLobHandler(); //在这里加了这个
hptGuideDoc.setId(rs.getInt("ID"));
hptGuideDoc.setHtpType(rs.getInt("HPT_TYPE"));
hptGuideDoc.setHptTitle(rs.getString("HPT_TITLE"));