FFL2:FFL2 Main/Hibernate Reverse Engineering: Difference between revisions

From FFL Wiki
Jump to navigation Jump to search
Created page with 'To reverse engineer the hibernate mappings and objects from the schema some additional setup is required. # Install Hibernate Tools Eclipse plugin #* The update URL is http://do…'
 
No edit summary
Line 1: Line 1:
To reverse engineer the hibernate mappings and objects from the schema some additional setup is required.
To reverse engineer the hibernate mappings and objects from the schema some additional setup is required.


# Install Hibernate Tools Eclipse plugin
== Install Hibernate Tools Eclipse plugin ==
#* The update URL is http://download.jboss.org/jbosstools/updates/stable/
* The update URL is http://download.jboss.org/jbosstools/updates/stable/
#* The installation procedure is the same as that described for the SVN plugin at [[../Dev_Environment/Install_Subclipse_Eclipse_plugin]] except that only the 'Hibernate Tools' component under 'JBoss Tools' is required. Don't install the full 'JBoss Tools' suite.
* The installation procedure is the same as that described for the SVN plugin at [[../Dev_Environment/Install_Subclipse_Eclipse_plugin]] except that only the 'Hibernate Tools' component under 'JBoss Tools' is required. Don't install the full 'JBoss Tools' suite.
 
== Create a Hibernate configuration in Eclipse ==
 
Open the Hibernate perspective then right-click and choose 'Add Configuration...' in the Hibernate Configurations view as shown below
 
 
When creating the database connection under 'Main' using the 'New...' button, the JAR file for the driver to use needs to be specified by clicking the triangle next to the 'Drivers' drop-down
 
Finally, click 'Test Connection' to check it is ok.

Revision as of 13:56, 7 January 2011

To reverse engineer the hibernate mappings and objects from the schema some additional setup is required.

Install Hibernate Tools Eclipse plugin

Create a Hibernate configuration in Eclipse

Open the Hibernate perspective then right-click and choose 'Add Configuration...' in the Hibernate Configurations view as shown below


When creating the database connection under 'Main' using the 'New...' button, the JAR file for the driver to use needs to be specified by clicking the triangle next to the 'Drivers' drop-down

Finally, click 'Test Connection' to check it is ok.