Hi , Im getting the following exception: javax.persistence.PersistenceException: org.hibernate.cache.CacheException: net.sf.ehcache.transaction.TransactionTimeoutException: transaction [1659:1320765341269@fb8b3327c36547f68270f3fec7247c8c] timed out Ive tried (and failed) to sett the timeout in a number of ways: 1, class="net.sf.ehcache.transaction.manager.DefaultTransactionManagerLookup" properties="jndiName=java:/TransactionManager;defaultTransactionTimeoutInSeconds=900;cacheLoaderTimeoutMillis=900000" propertySeparator=";" /> 2. cacheLoaderTimeoutMillis="9000000" 3. Query query = entityManager .createNamedQuery(queryName) .setHint("org.hibernate.cacheable", true) .setHint("javax.persistence.query.timeout","900000") .setHint("javax.persistence.lock.timeout","900000") .setHint("cacheLoaderTimeoutMillis","900000") 2. persistence.xml (javax.persistence.query.timeout property ) how do I set this value effectively.