Its not separate object mapping and relational mapping.
1)This is Object to relational mapping,
That means you are mapping your java object to a relational database that is funda,
2)Hibernate framework is for persistence, if you want to serialize an object you have to maintain a list of files or should query db everytimes using sql.
3)If you use hibernate, you can fetch the datas from db like an object. no need to write sql, this will automatically generates.
Here you use jdbc by using hibernate no place for comparison of jdbc.
_________________ persist_coder
--credit please if it helps you
|