[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6464) ElementCollection not updated when using session.update

Edmondo Porcu (JIRA) noreply at atlassian.com
Wed Jul 20 11:47:15 EDT 2011


ElementCollection not updated when using session.update
-------------------------------------------------------

                 Key: HHH-6464
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6464
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.5.4
         Environment: 3.5.4-Final on MYSQL 5.1
            Reporter: Edmondo Porcu


When having an entity with an @ElementCollection inside and an Ordinal column, calling session.update(entity) does not update the ElementCollection .


This is my entity:

    @Column(nullable=true)
    @OrderColumn(name="Ordinal")
    @JoinTable(name= "tenor1dcurve_oislist",joinColumns=@JoinColumn(name = "Tenor1DCurve_curveName"))
    @Fetch(value = FetchMode.SELECT)
    @ElementCollection(fetch = FetchType.EAGER)
    private List<CurveInstrument> oisList;



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list