RE: [OJB-developers] Re: Visual Tool?
Brought to you by:
thma
From: Florian B. <bf...@fl...> - 2002-02-26 19:56:47
|
Hi, > > > > If there is no visual tool, would it be appreciated if I contributed > > one, written using Swing and JDK 1.4.0? > > > > > Sure! OJB relies much on such contributions. We are not sponsored by a > company or any other organisation. > So everything (even rough code sketches, design ideas, > contructive criticizm if definitely appreciated! > Then I think I have something to share here. Some time ago I started writing a small tool that visualises a database structure. It never really left the state of a design study, its main purpose was for me to get some insight on the DatabaseMetadata interface. As I've seen this discussion I did some quick hacks and it is now able to generate the XML-Mapping and the related Java-classes (going the hard way with just doing some String concatenation). While this code is poorly designed and without any comments it still could maybe serve as a starting point for reverse engineering a database structure, as this was not as easy as it seemed first. As always with JDBC, every vendor implements the DatabaseMetadata interface differently. If you want to use it as a starting point or just as inspiration I could spend some time on commenting the code and I also would be more than happy to participate in such a project. best regards, Florian |