Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dali-dev] Entity property listener

Title: Entity property listener

Hi, all,

In SAP NWDS I'm working on a tool which needs to know if the 'mappedBy' attribute of the annotation of the owned side of a bi-directional relation has been changed. In order to do that, I'm adding a listener to the owned side relation attribute by using:

JavaPersistentAttribute.getMapping().addPropertyChangeListener(lsnr)

But the specified listener doesn't get any events when I change the mappedBy attribute in the java code.

It was working in the old DALI, but now when we adopted our NWDS to the new DALI it's not working anymore.

Am I using the wrong kind of listener or do I have to open a bug in the bugzilla?


Best wishes!
Stefan Dimov


Back to the top