К содержанию
РецензированоEN2011

Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked

no author specified

Учебная литература · 2011

Аннотация

In Hibernate, every transaction is handled by a session object. It controls the transactions and hides it from the outer world. To make sure the transaction completes successfully and is committed upon success and is rolled back upon failure, the entire transaction happens within a try – catch block. Within the try block, the session begins the transaction and continues with the processes and finally commits it. If anything goes wrong, the try block throws an error and under the exception handling part, a rollback is issued for the transaction. And finally, the session is closed. This is an efficient way of handling database transactions using Hibernate

Доказательный фрагмент

«In Hibernate, every transaction is handled by a session object.»

Образец извлечения

Демо-превью

In Hibernate, every transaction is handled by a session object. Полный текст публикации CiteX не хранит — доступ к первоисточнику открывается по DOI согласно лицензии издателя и выбранному плану.

DOI не указан
Цитирований
0
Тип
Журнал
Страна
Узбекистан
Спросить CiteX об этой работе

Смежные источники