Well, this part really does not make sense, as the operation itself is non mutating. Hibernate and OpenJPA do not rollback, and I believe they passed the TCK :). Anyhow, this is really handy at knowing if you are under a JTA transaction or not, something having an external flag is yet another thing to bother the user with, which I hope to avoid.
Is there a different way of knowing this then?
[Message sent by forum member 'kimchy' (kimchy)]
http://forums.java.net/jive/thread.jspa?messageID=255224