session « Performance « JPA Q&A





1. Hibernate sessions REST performance/security    stackoverflow.com

Intro

I'm bulding a REST web service using Hibernate and Jersey to supply JSON data to mobile clients. I have a general question about how to deal with Hibernate sessions internally. There ...

2. Simplest way to log Hibernate SQL only for current thread/session    stackoverflow.com

I'm looking for simplest way to trace execution time of SQL query generated by Hibernate. Unfortunately it cannot be done in traditional way - just by setting show_sql or hibernate logger, because ...

3. Performance and Session    forum.hibernate.org

We are developing an web app using hibernate and java. We are currently storing large amount of data in session variable so that it can be used across the application without hitting the DB server again and again. Is this advisable ? Will storing a large amount of data in session variable decrease the performance or it is better that hitting ...

4. strange performance problems with stateless session, queries    forum.hibernate.org

Pro Joined: Mon Jan 24, 2005 5:39 am Posts: 216 Location: Germany Hibernate version: 3.1 rc 2 DB2 7.2.9 We are using the stateless session to read large amounts of data. We have two table A and B with lots of rows (e.g.200000) and many columns. Both tables and mappings are flat, i.e. no collection etc. The table are read with ...

5. Session performance    forum.hibernate.org

Hello fellow Hibernate Users! Im currently in the process of rewriting an application using Spring(2.x) and Hibernate(3.x). as it is now i have a lot of DAO classes and some Service classes using the DAO's. All DAO classes are using the HibernateDAOSuport class. In this application performance is a great issue, and it is simply not possible to open a new ...

6. Performance problem with session.evict and session.clear    forum.hibernate.org

Hibernate version: 3.2.6 I'm using the open session in view pattern with long Conversations, and for my app its often necessary to use session.evict and session.clear to avoid unnecessary memory consumption. In some cases we deal with persistence of big collections of entities with many relatioships on each entity. Hibernate is doing very well persisting this collections, but when we want ...

7. Performance problem with session.evict and session.clear    forum.hibernate.org

Hibernate version: 3.2.6 I'm using the open session in view pattern with long Conversations, and for my app its often necessary to use session.evict and session.clear to avoid unnecessary memory consumption. In some cases we deal with persistence of big collections of entities with many relatioships on each entity. Hibernate is doing very well persisting this collections, but when we want ...