资讯

It is a common mistake to confuse transaction models with transaction strategies. Mark Richards discusses the three transaction models supported by the Java Platform (Local Transaction, Programmatic ...
In other words, all operations, such as persist, that are done outside of a transaction are queued and committed when the persistence context is attached to a transaction (and when it commits).