feature.setLength(new Integer(featureBases.length));
    private void storeNewSequence(LocatedSequenceFeature feature, char [] featureBases)        throws ObjectStoreException {        Sequence sequence =            (Sequence) DynamicUtil.createObject(Collections.singleton(Sequence.class));        sequence.setResidues(new String(featureBases));        feature.setSequence(sequence);        osw.store(feature);        osw.store(sequence);    }