Results 1 to 2 of 2

Thread: getHibernateTemplate().update(Object)

  1. #1
    Join Date
    Jan 2005
    Location
    Bangalore
    Posts
    14

    Default getHibernateTemplate().update(Object)

    Hi,

    Does the getHibernateTemplate().update(Object) work if my Object has composite keys?.

    It simply fires the Query without updating the table?

    thanks and Regards,

    TOM
    Thanks and Regards,

    TOM

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    It should work, Spring only delegates the call to HB removing the need of a try/catch and stuff like that. Have you tried using the update? What exactly doesn't work?
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •