I haven't really looked at the SchemaGenerator before, but what all did you change? Perhaps you can post a patch with your changes?
-- Thanks, Rick On Sun, Apr 4, 2010 at 10:43 PM, Daniel Toffetti <[email protected]>wrote: > > Hi all, > > I'm attempting to write a Netbeans plugin that should work as a GUI > frontend for ReverseMappingTool, it should be able to let me choose an (IDE > configured) connection, choose tables and objects, select options that > affect generation, and call RMT to let it create Entities. > Now, currently I have to setup database connection parameters (driver > etc) and a new connection is created internally, even many times to get all > schema objects. But this forces me to add the driver jars into the plugin > or > else I get CNFEs. > I would like to add SchemaGenerator the possibility to work with a > connection provided externally so I don't have to care about the specific > drivers used to create it (they are already configured in the IDE). > I've created a local copy of SchemaGenerator with these changes and it > seems to work well, is there any reason not to use it in this way ? Is > there any other way I can achieve this functionality by providing > SchemaGenerator with different config options, so I don't have to keep a > modified copy of it ? > > Cheers, > > Daniel > > -- > View this message in context: > http://n2.nabble.com/SchemaGenerator-and-connections-tp4852136p4852136.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >
