I have setup a simple Roo project, created my Entities,added logging support and generated integration tests, all using Roo's commands.
I'm running the tests with 'perform tests' and all of them fail with a:
org.springframework.orm.jpa.JpaSystemException: org.hibernate.exception.GenericJDBCException: could not execute query; nested exception is
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query
Now I'd like to check what query hibernate is trying to execute, but seems like log4j is not kicking in when I run the tests - the log file isn't created at all.
Any idea how to get logging working with the integration tests? Should it be 'automagic' or am I missing something?