facebook

attachDirty, attachClean & merge

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253005 Reply

    eear
    Member

    using dao spring templates for hibernate, these 3 methods were generated. can someone please give me a brief explantation of what they do differently vis-a-vis the other methods.

    #253047 Reply

    Haris Peco
    Member

    eear ,

    This methods attach and reattach objects from hibernate session

    The best explanation is in hibernate documentation
    see http://www.hibernate.org/hib_docs/v3/reference/en/html/objectstate.html#objectstate-modifying

    see chapter 10.5, 10.6 and 10.7 – complete chapter 10 is great

    This methods use hibernate’s saveOrUpdate, lock (with mode NONE) and merge methods

    Best

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: attachDirty, attachClean & merge

You must be logged in to post in the forum log in