What J2EE design problems does Hibernate solves apart from Data Base in-dependency and being an ORM tool?

Showing Answers 1 - 9 of 9 Answers

Jaya Kishore

  • Oct 25th, 2007
 

the persistency complexety is migrated from DAO disign pattern we just access pojo for the data

  Was this answer useful?  Yes

prashant82

  • Jun 24th, 2009
 

In hibernate objects are loosely coupled providing flexibility during integration with other databases or applications

In J2EE inheritance can not be achieved directly for the objects mapping

One-to-one mapping is mandatory in J2EE

  Was this answer useful?  Yes

Since in case of jdbc autocommit is always true but in case of hibernate after executing all the sql statements only it process the commit operation this is called as transaction management.But this type of transaction management is not available in jdbc.

In hibernate no need to write sql statements for inserting,updating,deleting type of operations.Since in hibernate everything is done in terms of java objects.But in case of jdbc this type of facility is not avaible.

At last what i want to say is for simple type of projects jdbc is enough.But for big projects hibernate is the better choice since it is going to reduce the developers management task.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions