You are on page 1of 4

Step 1: Right click in in crated table at DB browser in myeclipse database explorer Step 2: Select : hibernate reverse engineering

Step 3: Provide the mapping file details Java src: select src Java package : edu.mapping

Select hibernate mapping file and update Hibernate Configuration -- Next

Step 4:

Here if we want we can provide genereator calss and its optional. By default it takes Assigned. Dont do any changes Click Next

Step 5: If the coloumn and the property both are dirrerent then we need to provide those details here If both are same then click on finish. Now create a samle (example) class

You might also like