... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)

2007-02-02

Transactions in Hibernate

If you are borrowing the connection from Hibernate (a questionable practice, to be sure), then be aware that JDBC Connection transactions are much faster than Hibernate Session transactions.  In our application, Session.getTransaction().commit() took almost a second when stepping over it in the debugger -- and that is when the only work done was a query.

Blog Archive