users@glassfish.java.net

Toplink OptimisticLockException

From: <glassfish_at_javadesktop.org>
Date: Fri, 22 Feb 2008 01:07:00 PST

I implement an entity with @Version field in order to abilitate Optimistic Lock.

It works, So I can catch OptimisticLockException when it occurs on EntityManager.flush() call.

But, the problem is that toplink print into Server Log (Glassfish) Local Stack Exception.

I don't want it, because I catch and manage the exception myself.

Can I disable this printing, only for OptimistcLockException?
[Message sent by forum member 'peppeme' (peppeme)]

http://forums.java.net/jive/thread.jspa?messageID=260390