| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > Java: Общие вопросы > Hibernate. транзакции |
| Автор: redwhite90 29.9.2013, 19:48 |
| Такое пишут в доке по хибернейту про транзакции public interface Transaction Allows the application to define units of work, while maintaining abstraction from the underlying transaction implementation (eg. JTA, JDBC). A transaction is associated with a Session and is usually instantiated by a call to Session.beginTransaction(). A single session might span multiple transactions since the notion of a session (a conversation between the application and the datastore) is of coarser granularity than the notion of a transaction. However, it is intended that there be at most one uncommitted Transaction associated with a particular Session at any time. Implementors are not intended to be threadsafe. Мой английский не очень и я как ни тружусь никак не могу нормально перевести, чтобы понять смысл, хотя отдельно каждое слово мне понятно. Помогите пожалуйста вкусить смысл того, что там написано. А то выражения типа "грубее гранулированные" вводят в заблуждение. Заранее спасибо |