Announcement Announcement Module
Collapse
No announcement yet.
saving object structure Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • saving object structure

    Hi!

    I have an object structure that I am binding in a jsp page like this.

    <spring:bind path="person.address.phone.phoneNumber">

    The person is a domainobject and my commandobject.

    When I try to save this in the DAO object I just do a
    getHibernateTemplate().saveOrUpdate(person);
    and recive the following error:
    not-null property references a null or transient value:

    Somebody, please help....

  • #2
    This would be much better posted in the data forum

    Can you post your config and appropriate code please. In particular, what are your cascade settings?

    Comment

    Working...
    X