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.

Fine, Id rather use hql than SODA, so whats the point of me using Overmind?

Fine hql Id overmind point soda
0
Posted

Fine, Id rather use hql than SODA, so whats the point of me using Overmind?

0

HUGE advantages. The best one: Overmind will lazy-fetch every object for you, but should you descend into an uninitialized portion of the object graph, it will intervene and “inject” that portion for you EVEN if the session has been closed. NEVER worry about initializing your object graphs anymore or about throwing LazyInitializationExceptions. Also Overmind can intelligently bind query parameters on-the-fly (even to hql and SQL queries), preventing any need for you to write finders. 7. This sounds too good to be true, I bet there are huge performance issues. You would lose that bet ;). Overmind not only intervenes to fetch portions of object graphs as they’re needed, but it observes injection patterns to optimize the queries to eager-fetches on future calls. It “learns” how your app behaves and tunes its fetching accordingly. Overmind can even predictively pre-fetch persistent objects to speed up performance OVER pre-initialized objects.

Related Questions

What is your question?

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

Experts123