Is command line equivalent to reverse engineering in Hibernate tools?

Is there a relatively easy way to reverse-engineer a database from the command line and create database-based Hibernate artifacts? the only information I could find while doing this was to jump through a lot of hoops with Hibernate tools that were not meant to be used on the command line, and ant build files.

+3
source share
1 answer

Are you trying to do this as part of the build process? Not. DB reverse engineering is designed to provide you with a framework (the template that you have) for building your mappings - not with a ready-made set of ready-made mappings to work with.

It is for this reason that the reverse circuit design tool does not appear as an Ant task.

If you prefer to avoid eclipse and use the command line to reverse engineer your database as a starting point, see this link

+1
source

Source: https://habr.com/ru/post/1716920/


All Articles