'how to create hbm.xml file in eclipse
how to create hbm.xm file for a noramal Java Bean class in eclipse Ex: I have a table SampleUser Table is there,for that table i need pojo class & hbm file can we create manually that above two files?? or Is there any way to create these(Pojo & hbm.xml file) without using any Hibernate Tool??
Solution 1:[1]
You can create them manually, as long as the syntax is correct. You can check Hibernate documentation, specifically the mapping chapter.
Solution 2:[2]
If you install RedHat CodeReady Studio from Marketplace there is a wizard to create the hbm.xml automatically
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Atropo |
| Solution 2 | Marco Antonio Leanza |
