Back: DBDependency Main Page
Contribute
1. Supporting Other RDBMS
If you would like to have DBDependency work against your favourite RDBMS, all you have to do is
implement the DependencyResolver interface, or more precisely, subclass the AbstractDependencyResolver
abstract class and implement the following factory methods:
- public Statement createDependentsStatement()
- public Statement createDependeesStatement()
- public Statement createGetObjectNamesStatement()
- public String createGetObjectTypesString()
You also need to provide a constructor that accepts a Connection object.
For more information on what the above factory methods should do, please see the API docs for the DependencyResolver
interface and for the AbstractDependencyResolver abstract class. Then you would want to take a look at the source for Oracle8DependencyResolver and
MSSqlServer65DependencyResolver on how it was done.
After creating an implementation, you would then need to add an entry into config.xml for your database,
either by editing the file yourself or by running DBDependency. Note that you need to add the corresponding
JDBC driver for your RDBMS in the run.sh / run.bat script that launches DBDependency.
Once you are satisfied with the result, please submit to me, via e-mail for the meantime, the source file so I can include it in the next release.
2. Enhancing DBDependency
I have lots of plan for DBDependency, but not enough time. I will expand this section in the next few days to
show the list of features that I am planning to add. If you would like to contribute, please let me know.
3. Enhancing OpenJGraph
Because DBDependency simply uses the OpenJGraph library, I am also interested in contributions to the
OpenJGraph library, particularly the graph drawing algorithms. Visit
OpenJGraph site for more details.
$Id: contribute.html,v 1.2 2000/04/14 22:55:44 john Exp $
Back: DBDependency Main Page