1. Does beginTransaction in Hibernate allocate a new DB connection? stackoverflow.comJust wondering if beginning a new transaction in Hibernate actually allocates a connection to the DB? I'm concerned b/c our server begins a new transaction for each request received, even ... |
2. Hibernate and Concurrency stackoverflow.comI have already read the hibernate docs about concurrency and I think, I have understood the available locking methods, but I am not sure how I should implement ... |
3. How expensive is committing a hibernate transaction? stackoverflow.comI have a the following use case where I'm receiving a message via JMS regarding an entity, via a unique property of it (not PK) and it requires me to update ... |
4. Hibernate Performance flush v commit stackoverflow.comIm creating a hibernate component to interact with large incoming data to persist, both save(create) and update data with volumes in the million of rows. I am aware of the main differences ... |
5. DB update - long running operation fails stackoverflow.comI am using hibernate to put an object into DB. The DB is MYSQL community edition. The whole update runs into transaction. The code that does it is this: getHibernateTemplate().saveOrUpdate(order);There is no ... |
6. HIbernate performance flush v commit forum.hibernate.orgIm creating a hibernate component to interact with large incoming data to persist, both save(create) and update data with volumes in the million of rows. I am aware of the main differences around flush v commit, for example flush syncing the "dirty" data into the persistable underlying data, and that flush allows you to sync with the underlying persistable data without ... |
7. High performance pessimistic locking forum.hibernate.orgOptimistic locking is appropriate most of the time for my application, but there are certain cases where pessimistic locking is desired. My Hibernate enabled application is the only mutator of the database, so using the database for pessimistic locking can't be justified, because of the cost of network I/O and database action. Since this app is the only client of the ... |
8. Hibernate Transaction and test performance forum.hibernate.orgHi all! I'm a testing one method with multiple threads which is saving simple objetcs. My session factory is declared final and both session and transaction are gathered in the following class: [code] public class SessionOpale { private static final Log LOG = LogFactory.getLog (SessionOpale.class) ; private static SessionFactory sessionFactory ; private Session session ; private Transaction transaction ; public SessionOpale() ... |
9. Hibernate Transaction. Performance or atomicity? forum.hibernate.orgBeginner Joined: Thu Feb 26, 2004 11:45 am Posts: 45 I have gone over the documentation at great length related to the use of the Hibernate Transaction for a Session and I'm confused about the intent and use of the Transaction. Forgive me if i'm a little slow on the uptake, but help me out. I believe that i've read that ... |
10. JTA and Hibernate Jdbc transaction : Performance forum.hibernate.orgHi, I have used hibernate 3.x version in jboss application server. Now my concern is as far the performance issues considered which of the followings are best. These are respectively: 1. JDBC Transaction Factory VS JTA transaction factory 2. Use of UserTransaction or hibernate transaction API Can anyone give some opinions. Thanks in advance |
11. transaction performance forum.hibernate.orgNo, setting jdbc.batch_size doesn't seem to solve my problem, performance is still very very poor. Commiting the transaction only at the end of the job is a very important point for us ; of course, we don't have 100k objects to create, it is just a performance-test point of view. But we have more than 1000 objects to be created/updated, and ... |
12. degrading performance with multiple transactions forum.hibernate.orgI experience degrading performance when executing many small database transactions such as in the following: Code: for (int i=0;i<5000;i++) { Transaction tx = null; Person p = new Person("Person" + i); try { ... |
13. Performance for very transaction intensive application forum.hibernate.orgI am architecting an application, which will have nearly 10,00,000 (1 million) transactions per day being trading application. I wanted to find whether hibernate will be any bottleneck in performance? This is going to be very very crucial application so decision about using or not using hibernate as OR mapping tool, will be a key decision. Can you guys share your ... |
14. Performance problem with concurrent access forum.hibernate.orgDear wizards, I have th e following problem with Hibernate 3.2 + MySQL 5.0: I am developing a client-server application where a server needs to serve hundreds of clients simultaneously. The server is based on Spring, Hibernate and MySQL. I am running some stress tests where I simulate a number of clients that connect to the database and do some basic ... |