Thread:
 Re: I think i found an error... 
 kousen   29 Oct 2006, 15:02 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: kousen (29 Oct 2006, 15:02) Replies: 0, Views: 24268
Subject: Re: I think i found an error...
In case no one has answered this, check the Caveat Emptor source code.  
In there, they add the additional parameter to the findByExample 
method.  As you noted, that takes care of any compilation issues.

They've also made another adjustment to the pattern as implemented by 
CE.  Apparently they weren't happy with setting the persistentClass 
attribute by reflection.  Instead, the latest code (HiA-SE3.1alpha5) 
uses the constructor to set the class.  In the associated factory all 
of the individual DAO classes call super with the class references as 
an argument.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]