> > >  * Is there any chance to add predefined queries
> > to the
> > > generated mapping?
> >
> > Ummm, I thought theres was a @hibernate.query tag
> >
> > >  * Is there any chance to generate the
> > bean-pattern
> > > (setXXX(), getXXX()
> > >    and especially the
> > addXXX(Child)/setXXX(Parent)) methods of the
> > >    java-bean class? I really do not like to write
> > them down...
>
> Yes, xdoclet can be tricked to do this. But this
> feature is not implemented - though nobody prevents
> you from hacking templates.
> But it seems to be not very usefull for me.
> XDoclet can generate derived class for you, and
> all kinds of methods in this class. But this way you
> would lose main advantage of using hibernate vs entity
> beans - to get rid of paralel class hierarchies...

Just corius, why does generating add, set, get for the hibernate beans makes
you loose any advantage ? (Where is there created a prallel class
hierarchy?)

/max



-------------------------------------------------------
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

Reply via email to