ElementCollection not updated when using session.update

Description

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;

Environment

3.5.4-Final on MYSQL 5.1

Activity

Show:
Edmondo Porcu
July 21, 2011, 10:11 AM

It looks that in fact the reason is https://hibernate.onjira.com/browse/HHH-6468

Rejected

Assignee

Unassigned

Reporter

Edmondo Porcu

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major