Hi,

> Look at this fragment.  The call 'findAktivtByIsin' is a finder in
> another bean and it fails (just check the stacktrace).  However, it
> fails with "ObjectNotFoundException: No such entity".  Why is that?
> If it does not exist, shouldn't it fail with "FinderException"?

ObjectNotFoundException is iic derived from FinderException and
is supposed to be thrown if a finder, that is supposed to return
a unique object (as opposed to a collection), doesn't find an
entry in the db.

  Heiko
-- 
Bancotec GmbH      EMail: [EMAIL PROTECTED]
Calwer Str. 33     Telefon: +49 711 222 992 900
D-70173 Stuttgart  Telefax: +49 711 222 992 999
Ein Unternehmen der Cellent AG http://www.cellent.de/


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to