FieldDescriptor fieldDescriptor = new FieldDescriptor(classDescriptor, fieldID++); fieldDescriptor.setColumnName(StringFormatter.convertToDBStyle(slotName));    fieldDescriptor.setColumnType(rbJDBCTypes.getString(slot.getType()).trim());
if(classDescriptor.getFieldDescriptorByName(slotName) == null){ FieldDescriptor fieldDescriptor = new FieldDescriptor(classDescriptor, fieldID++); fieldDescriptor.setColumnName(StringFormatter.convertToDBStyle(slotName));    fieldDescriptor.setColumnType(rbJDBCTypes.getString(slot.getType()).trim());
    protected static void updateFields(final ClassDescriptor classDescriptor,            final DomainClass domClass, Map ojbMetadata, Class persistentFieldClass) throws Exception {        DomainEntity domEntity = domClass;        int fieldID = 1;        while (domEntity instanceof DomainClass) {            DomainClass dClass = (DomainClass) domEntity;            Iterator<Slot> slots = dClass.getSlots();            while (slots.hasNext()) {                Slot slot = slots.next();                String slotName = slot.getName();                FieldDescriptor fieldDescriptor = new FieldDescriptor(classDescriptor, fieldID++);                fieldDescriptor.setColumnName(StringFormatter.convertToDBStyle(slotName));                // System.out.println(">> " + slot.getType());                // System.out.println("\t" +                // java2JdbcConversion.get(slot.getType()));                fieldDescriptor.setColumnType(rbJDBCTypes.getString(slot.getType()).trim());                fieldDescriptor.setAccess("readwrite");                try {                    String conversor = rbConversors.getString(slot.getType()).trim();                    fieldDescriptor.setFieldConversionClassName(conversor);                } catch (MissingResourceException e) {                }                if (slotName.equals("idInternal")) {                    fieldDescriptor.setPrimaryKey(true);                    fieldDescriptor.setAutoIncrement(true);                }                PersistentField persistentField = new FenixPersistentField(persistentFieldClass,                        slotName);                fieldDescriptor.setPersistentField(persistentField);                classDescriptor.addFieldDescriptor(fieldDescriptor);            }            domEntity = dClass.getSuperclass();        }    }