These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Custom EntityNotFoundDelegate
PostPosted: Thu Nov 13, 2008 12:06 pm 
Newbie

Joined: Sun Aug 17, 2008 10:26 am
Posts: 2
Hi all,

I try to work around the fact that a
Code:
@NotFound(action = NotFoundAction.IGNORE)

makes an association eager (see HHH-2753), and wondered if a custom EntityNotFoundDelegate might be a solution.

I debugged through Ejb3Configuration and friends, but couldn't find a way to replace the default Ejb3EntityNotFoundDelegate.

Can anyone point me to an example on how to employ a custom org.hibernate.proxy.EntityNotFoundDelegate?

regards,
Karl

Hibernate version:
3.2.4.sp1.cp03 (JBoss EAP 4.3.0.GA_CP01)

_________________
Karl Traunmüller

Objectbay Software & Consulting GmbH
Softwarepark 35
4232 Hagenberg, Austria
www.objectbay.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.