Okay dude.... Lemme tell u..... U r using the ***.hbm.xml file. From that u can refer the sql names.... But if u want it implicitly done then u have to take help of an IDE....
The best IDE I've ever used for Hibernate is Eclipse with MyEclipse Plugin.
U can get it from here......
http://www.myeclipseide.com
If u have used it then please try to use MyEclipse 5.1 or higher.... Bcoz with this u can directly do the Reverse Engineering to get the POJOs, hibernate.cfg.xml, HibernateSessionFactory, DAO Classes & all the hbm.xml files mapped to each other.....
This tool converts the sql data to the variables & the corresponding Setters & Getters.....
If u have any doubt then ask this thread.... I or anyone will defenitely reply.....