1 Reply Latest reply on Aug 14, 2012 4:44 AM by maxandersen

    looking for instructions for reverse engineering DB schema using hibernate tools

    jackalista

      Hi,

       

      I'm looking for instructions for reverse engineering hibernate domain objects from an existing DB schema using hibernate tools, but I am not finding what I'm looking for.  Is there a tutorial or some sort of instructions for how to do this?  I have sucessfully installed the jboss tools in eclipse indigo, and that's all good but I am not finding instructions for how to connect to an existing DB and generate hibernate domain objects from it.  We're using hibernate as a provider and JPA annotations for the mappings, so I'd like to have it generate mapping via JPA annotations if at all possible.  We are not using seam, but rather using Spring DI, but I can create a seam project if that's the only way to do it.  Any pointers to a tutorial or other set of instructions would be greatly appreciated!