• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Java Database Connections & Transactions

 
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi ,
Does the book go to  what happens with jdbc transactions when they are configured in an app with both  Hibernate  and Spring ?

For example what happens when using the Spring  @Transactional annotation and then in the code there is session.beginTransaction() (where 'session' is a Hibernate Session) .    

thanks,
Paul
 
Author
Posts: 109
5
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul,
yes, absolutely! There's two big chapters on Spring and Hibernate, where you'll learn the ins and outs of Spring's @Transactional and what it does _EXACTLY_.

Every chapter comes with code and exercises, so you should be able to have pretty good knowledge of it afterwards.

Cheers
Marco
 
paul nisset
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks Marco .
This sounds useful. As both Spring and Hibernate handle jdbc transactions, it is good to know how they interact when both are used.
Presumably ,developers should only use only one or the other.

-Paul
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!