-
May 17th, 2005, 12:04 PM
#1
Bug: "no setter" error when Generics are used
SpringIDE reports "No setter found for property 'xxx' in class 'yyy' when class yyy is using a generic type:
Example:
public abstract class AbstractCrudDaoHibernate<E extends DomainObject>
extends HibernateDaoSupport
implements CrudDao<E> {
...
}
public class CustomerDaoHibernate
extends AbstractCrudDaoHibernate<Customer>
implements CustomerDao {
...
}
If I try to set the property "sessionFactory" which is declared in the class HibernateDaoSupport on CustomerDaoHibernate the above error is reported. Without the generic type everthing works fine.
I´ve created an issue at http://opensource.atlassian.com/proj.../browse/IDE-43
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules