• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

HF EJB p470 getRollbackOnly

Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm almost sure this is a misprint, but it isn't documented in the errata that I have:
The bottom of page 470 reads
"...you must know that if you invoke getRollbackOnly on a bean's context, the container must not commit."
This should have read setRollbackOnly, right? I think that the get method would just be for checking on the rollback of a transaction; it doesn't make sense that if you just checked on it, you would cause a rollback.
C. Arthur
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right.
It has been mentioned before and also updated in the errata list at OReilly site.
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic