Resolved annotation issues for transactional queries and Maven tests.