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??
            Asked
            
        
        
            Active
            
        
            Viewed 7,541 times
        
    1
            
            
        - 
                    Yes, you can create it manually. This is a simple example of an hbm : http://www.mkyong.com/hibernate/hibernate-component-mapping-example/ – TJ- Dec 11 '12 at 16:30
- 
                    This may be useful to you. http://stackoverflow.com/questions/351640/how-to-install-hibernate-tools-in-eclipse – Rohit Kumar Aug 10 '13 at 09:22
2 Answers
0
            
            
        You can create them manually, as long as the syntax is correct. You can check Hibernate documentation, specifically the mapping chapter.
 
    
    
        Atropo
        
- 12,231
- 6
- 49
- 62
0
            
            
        If you install RedHat CodeReady Studio from Marketplace there is a wizard to create the hbm.xml automatically
 
    
    
        Marco Antonio Leanza
        
- 21
- 6
