[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6464) ElementCollection not updated when using session.update
Edmondo Porcu (JIRA)
noreply at atlassian.com
Thu Jul 21 04:13:14 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43019#comment-43019 ]
Edmondo Porcu commented on HHH-6464:
------------------------------------
It looks that in fact the reason is https://hibernate.onjira.com/browse/HHH-6468
> 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
> Original Estimate: 6h
> Remaining Estimate: 6h
>
> 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