Removing an AlertNotification from a Definition?

Heiko W.Rupp hrupp at redhat.com
Thu Jan 10 17:10:54 UTC 2013


Am 10.01.2013 um 17:57 schrieb Heiko W.Rupp:
> 
> Which always bails out with javax.persistence.OptimisticLockException: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
> 

AlertNotificationManager has a comment about detached entities, which I think I've tried too, but then the 
AlertNotificationManager.removeNotification() method is deprecated with the words "doesn't work anyway", so I am not sure
if above comment applies in current situations or not.

-- 
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C, 
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschaeftsführer:  Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.fedorahosted.org/pipermail/rhq-devel/attachments/20130110/3bde2095/attachment.sig>


More information about the rhq-devel mailing list