log « Test « JPA Q&A





1. How to log database access during selenium test?    stackoverflow.com

I am looking for enabling SQL logs during selenium test. However, Selenium does not show the SQL logs in either console or file. I used log4j for logging and the same ...

2. TreeCahce Error log: node //test/Item/bids/1 not found    forum.hibernate.org

I am using hibernate with JBossCache as a second level cache and I see messages like this in the log (my log4j.properties is below): ERROR [main] (TreeCache.java:2461) - node //test/Item/bids/1 not found Digging a little, I found that the message is created in the TreeCache._remove if the node being removed does not exist. This situation happens when hibernate tries to evict ...

3. commons-logging/log4j conflict when Unit testing in Maven    forum.hibernate.org

Beginner Joined: Wed Jul 13, 2005 2:18 pm Posts: 44 This seems to be a particularly nasty problem. I've got some unit tests which test the interface to our business layer, which uses Hibernate to do its ORM. I can run the tests just fine within Eclipse. However, when I check my code in to source control, we have a build ...