Quote:
page 291 is missing a "=" assignment operator for the definition of the hibernate.cache.use_query property (this one is realy a minor one ;-)
Both work.
Quote:
page 305/307/310
The various execute-method code-snippets all lack of the code to rollback the transaction by calling HibernateUtil.rollbackTransaction(). Since your first version of the (to be improved) servlet in listing 8.2 (page 298/299) did do a rollback in case of a catched exception you should really have the rollback code in your elaborated versions, too (just to be consistent).
Major change, not for errata. I'll keep it in mind if there is a next edition.
Quote:
page 314
In the last third of the page you claim that the EJB spec lacks of a notion of interceptors. Even that you do mention the feature of JBoss server-side interceptors I'm missing here a word about AOP. That's not really an error, but mentioning that one could achive a portable way of intercepting EJB instance invocations by using a AOP framework (like e.g. JBossAOP) would definitly be a helpful remark from my point of view.
Good idea.