Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mapping of pojo to hbm file

 
Manohar Saddala
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How the hbm file is mapped to particular pojo..
What is the technology or mechanish used for mapping..
 
vijay yadav
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Manohar,

We can map the pojo to particular login.hbm.xml file like this

<class
name= "xyz.hibernate.LoginPojo" table="abc" >

Here login pojo was mapped in login.hbm.xml.

Regards,
Vijay.
 
Manohar Saddala
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Vijay...

Thanks for the info.
But i am asking about the mechanism behind mapping this activity.

Thanks
Manohar
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's based on the Reflection API.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic