Hi,
just writing to let you know of a performance bug we hit with certain "out-of-the-box" Hibernate combo with Maven build system. I don't know who is responsible of providing Hibernate builds in the Maven repository, so I'll just write this here, in case anyone happens to Google upon it :).
We're using Hibernate Entity manager 3.4.0 GA and the Maven build system. In the Maven dependencies, the entity manager has as its dependency SLF4J-API-1.4.2 library. The JEE platform underneath uses JDK logging, so we included SLF4J-JDK14-1.4.2 in the setup (following the SLF4J guidelines). Now, there happens to be a nasty bug in that version of JDK14-logger implementation:
http://bugzilla.slf4j.org/show_bug.cgi?id=72This bug caused in, some cases, > 80 % of the CPU time being spent in "phantom logging". Problem was solved by upgrading the SLF4J JDK14 logger implementation.
Cheers, Joni