Thread:
 I think i found an error in the interface GenericD... 
 juliano7s   05 Sep 2006, 14:48 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: juliano7s (05 Sep 2006, 14:48) Replies: 0, Views: 28496
Subject: I think i found an error in the interface GenericDAO
The implementation of the method findByExample(T exampleInstance,
String[] excludeProperty) in GenericHibernateDAO class is different from
its definition in the interface GenericDAO. 

I tried to create a ItemDAO interface and ItemDAOHibernate class and got
the error
"The type ItemDAOHibernate must implement the inherited abstract method 
 GenericDAO<Item,Long>.findByExample(Item)"

Should you add the parameter to the interface GenericDAO or remove the
parameter from the GenericHibernateDAO class?
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]