yes that was line of thought too, until I wrote an DatabaseMetaData2XML util (posted earlier today) and all of the fk/pk/indecies were there.
On Mon, 17 Nov 2003, Charles Anthony wrote: > > > From: Jason Pyeron [mailto:[EMAIL PROTECTED] > > > > On Mon, 17 Nov 2003, Robert S. Sfeir wrote: > > > > > I've figured out how to import existing tables if anyone is > > interested. > > > > > > Setup your jdbc driver > > ... > > > Choose Import Entities > > > > > > Check everything > > > > where are the foreign keys???? > [...] > > > > I am an OJB user, I use MySQL4 and I have been doing things > ^^^^^^ > Which version of the MySQL jdbc driver (JConnect ??) are you using ? > > According to http://www.mysql.com/downloads/api-jdbc-stable.html the latest > release, 3.09 fixes some bugs to do with foreign key metadata on InnoDB > tables. > More info on one of the bugs here : > http://bugs.mysql.com/bug.php?id=517 > > I suspect that Druid uses the foreign key metadata stuff in the driver to do > it's thang. If it ain't reported from MySql, Druid can't use it. > > HTH, > > Cheers, > > Charles. > > > ___________________________________________________________ > HPD Software Ltd. - Helping Business Finance Business > Email terms and conditions: www.hpdsoftware.com/disclaimer > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Partner & Sr. Manager Pyerotechnics Development, Inc. - - +1 (443) 451-2697 500 West University Parkway #1S - - +1 (410) 808-6646 (c) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
