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.  [ 9 posts ] 
Author Message
 Post subject: (xdoclet2) subclass / joined-subclass mapping
PostPosted: Thu Dec 11, 2003 11:28 am 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
Shall those be defined inside <class>, or outside?

Dtd is not clear on the issue and allows both.

Any differences I should know about?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 11, 2003 11:34 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Either is allowed, but inside is much preferred.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 11, 2003 12:13 pm 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
ok, is now inside...

BTW, I'm almost ready to use it productive ( it's only 10% short of covering my usage patterns )


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 11, 2003 7:23 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
great! :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 11, 2003 7:44 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
gavin wrote:
Either is allowed, but inside is much preferred.



...but it would be great to provide an option that allows you to choose either strategy - is that possible ? ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 12, 2003 6:17 am 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
it would overcomplicate templates. And anyway, subclasses / joined subclasses CAN ( and WILL,. and already DO ; ) contain next level subclasses - and those subclasses go inside.

So I prefer to keep a single behaviour....
( you do not like templates which are difficult to debug, and this buggy? :) )


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 12, 2003 6:35 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
understandable......(but this is why i hate xsl and other template mechanisms ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 12, 2003 6:37 am 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
Well, nobody forces you to use it :)
You can write velocity template if you wish. Or fallback to your hands :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 12, 2003 7:29 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yeah i know....but notice velocity is also a template - also bad ;)


...i do use templates and appreciate their power and flexibility - but i still think they are a pain sometimes - much like women ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 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.