Seam « Performance « JPA Q&A





1. Hibernate and seam performance    seamframework.org

Hi,I was wondering about hibernate performance issues:1. If I have one to many relationship and I do: parent.childs.size()Will hibernate will be smart enough to fetch the size only without populating all the childs?If hibernate is not that smart, is there a better way of doing it?2. Similar issue: if I have many to many relation between article and users, and I ...

2. Seam + JPA performance problems    seamframework.org

You should almost never use EAGER. A case for using EAGER would perhaps be an employee with multiple e-mail addresses where the collection of Email entities is virtually part of the Employee entity. If you want to do joins, they should be done in JPQL. Otherwise, you are just asking for trouble.

3. Seam managed hibernate session performance problem    seamframework.org

I have a web application that uses spring for hibernate session management and declarative transaction demarcation, and JSF/SEAM/(Spring OSIV filter) on the view layer. I integrated seam and spring by using spring's EL Resolver and i am able to use spring beans in seam components. I really like the concept of Extended Persistence Context (dislike Lazy Init Exceptions, OSIV filter) so ...

4. Utility to assert Hibernate performance    seamframework.org

Utility to assert Hibernate performance 30. Nov 2010, 07:13 America/New_York | Link Gonzalez Adrian Hello, I've built a little utility inspirated by this post : http://josephmarques.wordpress.com/tag/hibernate/ Basically it' just a Seam component monitors hibernate statistics for each JSF request (uses Hibernate statistics), and verify at the end of each request performance rules assertion. If one or more performance rules are broken, ...