skip to main | skip to sidebar

Technical Notes

Sunday, December 27, 2009

Do transactions re-associate detached objects?

It appears that wrapping a manager method in a transaction via Hibernate's AOP functionality, does not automatically re-associate any detached objects passed into the method to the session. You'll need to do this manually.
Posted by boristech at 9:07 AM
Labels: hibernate spring session

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2011 (8)
    • ►  October (1)
    • ►  September (3)
    • ►  June (1)
    • ►  April (1)
    • ►  January (2)
  • ►  2010 (8)
    • ►  December (1)
    • ►  August (1)
    • ►  July (1)
    • ►  May (1)
    • ►  February (1)
    • ►  January (3)
  • ▼  2009 (17)
    • ▼  December (5)
      • Do transactions re-associate detached objects?
      • A Spring WebFlow Gotcha
      • Hibernate Intricacies
      • Extending JavaScript's onsubmit method
      • A Queue of AJAX Requests
    • ►  November (1)
    • ►  October (1)
    • ►  September (1)
    • ►  July (1)
    • ►  June (3)
    • ►  April (3)
    • ►  March (1)
    • ►  February (1)
  • ►  2008 (6)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (2)
    • ►  April (1)

About Me

boristech
View my complete profile