Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does Hydrate compare with O/R frameworks like EJB3 and Hibernate?

0
Posted

How does Hydrate compare with O/R frameworks like EJB3 and Hibernate?

0

O/R mapping frameworks such as these focus on taking an object model that you have and saving it to a relational database. The starting point is the object model and the problem is ‘how do I persist this object model into a relational model’. Hydrate’s focus is the other way around: ‘how to I take this relational data or XML data that I have been given and work with it through an object model of my choice’. That is not to say that you can’t do this with other frameworks: Hibernate provides a rich toolset for mapping native SQL queries as well as reading and writing XML, however, this is not its focus, and as such you will get better performance and flexibility from Hydrate.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123