Hello Amel,
finally back from my holiday, and cleaning up my mailbox..
I've had a quick look into the code. First I would like give the usual
introduction: this project has been going on for a few years now, and
started out as an exercise in eclipse programming. Not everything
always makes perfect sense - but it works most of the time. In any
case, implementing the stuff you envision will require you to
understand the inner workings of rmbench (and of my and Hannes's
brain, 4 years ago). So much for that.
My fist take at the sequence issue is this:
I think the best way would be to implement sequences through a new
datatype. That type would be derived from NUMBER (or so), and add
certain restrictions an/or properties. We already have a facility for
adding custom datatypes that are configured through a separate dialog
which can be opened from within the table details view. You may want
to have a look at com.byterefinery.rmbench.database.mssql.XMLDataType,
and how it is integrated into the architecture. Note that the
configuration dialog for a data type must be configured in XML using
the "extraTypeEditor" sub-element under the "database" extension
point. You can also look at the different database objects (e.g.,
SQLServer2008.java) to see how such types are integrated.
For DDL code generation, you should look at IDataType#getDDLName() and
IDataType#get/setExtra(). If I remember correctly, the former does the
DDL output, and the "extra" stuff is about saving to and reading from
the model file.
Another issue that would need to be handled is database import (via
JDBC).
I hope this gives you something to start from. If you have more
questions, dont hesitate. If you have code changes that you are
confident about, you can send them to me as patches, so I can have a
look at them before committing. If all works out well, I will assign
you commit rights after a while (usual procedure).
regards, Christian