Beans are at form level and hibernate at data base level.
Hibernate adapts beans.Its plain old Java objects. POJO. Hibernate always has a bean orientation.But the Bean is just not persistent, using hibernate you can make a bean persistent.A bean when used in Hibernate It can create a table ,Add a row,Delete a rowUpdate row.THis is all done with Hib Configuration stuff.Hibernate is ORM as it can relate a bean to a row in a table
SOURCE : www.referjava.com
No comments:
Post a Comment