It definitely works. I have many such methods like what you mentioned. Post your method implementation and exception here. Let me have a look.
jason --- Warner Onstine <[EMAIL PROTECTED]> wrote: > Got this working! > > Now I have another question with regards to > collections in general. > > I tried to do this: > Set subCategories; > > public void setSubCategories() > public Set getSubCategories() > public void addSubCategory() > public void removeSubCategory() > > in add and remove I refer to the collection > subCategories.add(subCat) > and inversely for remove. When I put this through my > test class it spit > up a nasty reflection error so I went back to using > the > setSubCategories() instead and everything worked > alright. > > It would be nice to have a helper method like this > defined in my class, > is it possible with Hibernate though? > > Thanks, > Warner > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel