1 Reply Latest reply on Jan 10, 2006 5:05 AM by maxandersen

    reverse engineer with mySql


      I've been using the eclipse tools to reverse-engineer a simple database with two tables and some foreign keys.
      I'm using mysql 5 and hibernate 3.1 and most of the process was successful - i managed to create the classes and mapping files, the only thing missing is the generation of the foreign key mapping.

      am i missing somthing here?

        • 1. Re: reverse engineer with mySql

          three things is needed for reveng to work with mysql:

          0) that you are using a mysql that has support for foreign keys

          1) that you actually have created the foreign keys

          2) that you use an uptodate driver that knows how to retreive them