pstmt.setString(14, bean.getServiceName());
pstmt.setInt(15, bean.getFlags());
pstmt.setString(16, bean.getReferenceMessageKey());
pstmt.setString(17, bean.getHighestInMessageId());
pstmt.setString(18, bean.getLastInMessageId());
RangeString trs = bean.getServerCompletedMessages();
pstmt.setString(19, trs == null ? null : trs.toString());
trs = bean.getOutOfOrderRanges();
pstmt.setString(20, trs == null ? null : trs.toString());
pstmt.setString(21, bean.getToAddress());
pstmt.setString(22, bean.getOutboundInternalSequence());
pstmt.setLong(23, bean.getNextMsgNoToProcess());
pstmt.setLong(24, bean.getHighestInMessageNumber());
pstmt.setInt(25, bean.getRmdFlags());