Hi,
I have a CollectionOfElements mapping, but I am not able to use classbacks with it:
Code:
@Embeddable
public MyEmbClass implements Serializable {
}
@Entity
public MyClass implements Serializable {
@CollectionOfElements
private List<MyEmbClass> embs;
If I use PreUpdate/PostUpate in MyEmbClass, they will be not called (makes sense, once this annotations are used for Entitys)
But if I use PreUpdate/PostUpate in MyClass, they will not be called also, once the "Entity is not being update", just elements of a collection.
How can I use a Callback for a CollectionOfElements?
Thx in advance
============================
hibernate-entitymanager 3.3.1
hibernate-annotations 3.3.0
hibernate-3.2.6