--- Gavin King <[EMAIL PROTECTED]> wrote:
> 
> >  * 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...

> (Anyway, I just let Eclipse generate my get/set
> pair.)

I do this with jEdit. Just wrote small velocity
template... 

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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

Reply via email to