object « Performance « JPA Q&A





1. hibernate object vs database physical model    stackoverflow.com

Is there any real issue - such as performance - when the hibernate object model and the database physical model no longer match? Any concerns? Should they be keep ...

2. performance problem - inserting new objects to database    forum.hibernate.org

I have big performance problem while inserting (updating) objects to database. For brief I have objects: InstrumentHistory and History I am going to insert big number of InstrumentHistory objects, using f.e.SessionBean. 1. Problem is, that InstrumentHistory object contains Instrument object that have high number of fields. Code: /** * @hibernate.many-to-one column="instrumentId" class="com.finance.domainmodel.Instrument" ...

3. What performance can "immutable objects" bring?    forum.hibernate.org

Hibernate version: 2.1 Name and version of the database you are using:PostgreSQL This is a general question. The Hibernate online reference doc says "Immutable classes, mutable="false", may not be updated or deleted by the application. This allows Hibernate to make some minor performance optimizations". I just wonder what optimization is implemented? And how much approximately improvement it can bring? Any figures ...

4. Deeply nested object models (performance)    forum.hibernate.org

I'm having a general performance tuning problem and I'm wondering if any of you have had a similar experience. We have a deeply nested object model, 4 or 5 levels deep in some places, with several objects having 5 or more one-to-many relationships and a handful of many-to-one. The number of queries that it is taking to pull in all the ...

5. The performance issue to insert imported object...    forum.hibernate.org

Hibernate version: 3.0.5 Name and version of the database you are using: SQL Server 2000 We have used Hibernate 3 in a fairly complex project and it is an excellent tool. Though we had performance issues with large number of objects, we were able to achieve acceptable response time after following the guidance given in reference documentation. I would say that ...

6. Object[] performance    forum.hibernate.org

Hi, Is there some expensive issue when returning and Object[] as a result? I have a query that is basically "select foo, bar..." and it returns a correctly sized List of Object[2] but the strange thing is that it takes ~10x longer to return than the debug-outputted SQL when run e.g. in sqlplus...