-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: what is meta-tag "generated-class" doing?
PostPosted: Fri Sep 17, 2004 8:33 am 
Newbie

Joined: Fri Sep 17, 2004 8:27 am
Posts: 7
hi *,

can anyone tell me what the meta-tag "generated-class" is exactly for.

it's mentioned only one time in the docu:
"overrule the name of the actual class generated"
this is not really enlightening to me.

hibernate in action isn't saying anything about it.

there are some postings in the forum but not a single one is really explaining it's meaning.

any help appreciated.

thanks
martin


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 17, 2004 9:24 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
it is for making hbm2java to generate an abstract class which you then extend and can add all the business methods you want ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 17, 2004 9:25 am 
Newbie

Joined: Fri Sep 17, 2004 8:27 am
Posts: 7
google (and a lot of links following) delivered that answer:

"generated-class" - name that the codegenerator should use instead of the
actual mapped class. This class would then be extended by the actual mapped class (done by the user)"

this is much more enlightninh than the statement in the current docu.
kee point for me is "instead of the actual mapped class".

=> should be included in the documentation


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 17, 2004 9:32 am 
Newbie

Joined: Fri Sep 17, 2004 8:27 am
Posts: 7
@max

thanks for the answer.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 17, 2004 9:38 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
schissler wrote:
google (and a lot of links following) delivered that answer:

"generated-class" - name that the codegenerator should use instead of the
actual mapped class. This class would then be extended by the actual mapped class (done by the user)"

this is much more enlightninh than the statement in the current docu.
kee point for me is "instead of the actual mapped class".

=> should be included in the documentation


A patch to the doc is very welcome.
Submit it via jira and your contribution will be added!

TIA

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 17, 2004 9:58 am 
Newbie

Joined: Fri Sep 17, 2004 8:27 am
Posts: 7
ok


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.