* @param dbRelationMember The relation member containing the data to be inserted.
*/
private void populateRelationMemberParameters(PreparedStatement statement, int initialIndex,
DbFeatureHistory<DbOrderedFeature<RelationMember>> dbRelationMember) {
int prmIndex;
RelationMember relationMember;
prmIndex = initialIndex;
relationMember = dbRelationMember.getFeature().getFeature();
try {
statement.setLong(prmIndex++, dbRelationMember.getFeature().getEntityId());
statement.setString(prmIndex++, memberTypeRenderer.render(relationMember.getMemberType()));
statement.setLong(prmIndex++, relationMember.getMemberId());
statement.setInt(prmIndex++, dbRelationMember.getFeature().getSequenceId());
statement.setString(prmIndex++, relationMember.getMemberRole());
statement.setInt(prmIndex++, dbRelationMember.getVersion());
} catch (SQLException e) {
throw new OsmosisRuntimeException("Unable to set a prepared statement parameter for a relation member.", e);
}