-->
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.  [ 14 posts ] 
Author Message
 Post subject: Can we use XDoclet with Hibernate3.0
PostPosted: Wed Dec 15, 2004 3:17 pm 
Newbie

Joined: Wed Nov 17, 2004 4:17 pm
Posts: 9
Hi,
Can we use XDoclet with Hibernate Version 3.0 . Or is there any other tool available for generating XML mapping files for 3.0?

Thanks,
shilpa


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 15, 2004 3:19 pm 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
jsr 175 annotation is what you need!!
check it if you want to try.
Emmanuel is working on a tutorial, it should be available soon.
you'll love it

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 15, 2004 5:09 pm 
Newbie

Joined: Wed Nov 17, 2004 4:17 pm
Posts: 9
I think JSR175 annotation in supported in JDK 1.5. Can I use it with JDK1.3?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 15, 2004 7:04 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
It looks to me (observations) that XDoclet support for Hibernate 3.0 (new features etc) might be supported in XDoclet2 http://www.sourceforge.net/projects/xdoclet-plugins/ since it is being worked on and hibernate support is active. XDoclet 1.2.x appears to have slowed to a crawl so I would not expect it. Our focus is forward and thus its Annotations.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 16, 2004 8:48 am 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
david wrote:
It looks to me (observations) that XDoclet support for Hibernate 3.0 (new features etc) might be supported in XDoclet2 http://www.sourceforge.net/projects/xdoclet-plugins/ since it is being worked on and hibernate support is active. XDoclet 1.2.x appears to have slowed to a crawl so I would not expect it. Our focus is forward and thus its Annotations.


How different is 3.0 mapping ?

_________________
Got new hibernate xdoclet plugin? http://www.sourceforge.net/projects/xdoclet-plugins/
... Momentan auf der Suche nach neuen Projekt ode Festanstellung....


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 16, 2004 9:11 am 
Beginner
Beginner

Joined: Wed Oct 08, 2003 6:34 am
Posts: 29
I just posted a question regarding availability of annotations... are they included in Hibernate3.0a? Do you know when the tutorial will be available?

Thanks a lot, regards
Jose


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 16, 2004 9:13 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
hi ko5tik,

Quote:
How different is 3.0 mapping ?


the best is to download the new dtd (cvs), you'll see that the core is pretty the same but we now have much more mapping features, there will be some work for xdoclet to support this

regards,

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 16, 2004 10:09 am 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
anthony wrote:
hi ko5tik,

the best is to download the new dtd (cvs), you'll see that the core is pretty the same but we now have much more mapping features, there will be some work for xdoclet to support this

regards,


That's why I'm asking... I'm not sure, whether to start new 3.0 plugin, or just
add another subtask.

How reusable would be the mappings ? ( Better asked, is 3.0 mapping superset of 2.1.7 ? )

_________________
Got new hibernate xdoclet plugin? http://www.sourceforge.net/projects/xdoclet-plugins/
... Momentan auf der Suche nach neuen Projekt ode Festanstellung....


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 16, 2004 1:14 pm 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
Quote:
Better asked, is 3.0 mapping superset of 2.1.7


some attributes are going to be deprecated but still supported so we can say 3.0 mapping superset of 2.1.7.

Anyway, as it is very important for xdoclet, i think another team member point of view will be appreciated.

Let's wait a little.

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 16, 2004 2:50 pm 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
anthony wrote:
Quote:
Better asked, is 3.0 mapping superset of 2.1.7


some attributes are going to be deprecated but still supported so we can say 3.0 mapping superset of 2.1.7.

Anyway, as it is very important for xdoclet, i think another team member point of view will be appreciated.

Let's wait a little.


There is not much choice though... Folks maintaining and using 1.2 are unlikely to mount an attempt, and there are only 2 ( or 3 ) of us on plugin for 2.0 - but I got about 70% of 2.1.7 features covered. And I'm not against contributions. And it is easy to do - jelly snippet followind dtd, and test cases...
Everybody is welcome.

And as for documenting tags - we got automatic build process which builds / deploys documentation into confluence, so javadoc enhancements for tag definitions are also welcome...

_________________
Got new hibernate xdoclet plugin? http://www.sourceforge.net/projects/xdoclet-plugins/
... Momentan auf der Suche nach neuen Projekt ode Festanstellung....


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 24, 2004 8:07 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
jgongo wrote:
I just posted a question regarding availability of annotations... are they included in Hibernate3.0a? Do you know when the tutorial will be available?


You can find a first draft of tutorial in CVS HibernateExt/metadata/doc...

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 28, 2004 12:41 pm 
Newbie

Joined: Wed Jul 28, 2004 3:20 pm
Posts: 16
Very cool. I have a noob question: is this only for EJB entities? Or can I use this stuff for POJOs?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 29, 2004 5:26 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
rmangi wrote:
Very cool. I have a noob question: is this only for EJB entities? Or can I use this stuff for POJOs?

EJB3 Entities are POJOs

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 06, 2005 3:52 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
FYI, the release is out
http://forum.hibernate.org/viewtopic.php?t=937575

_________________
Emmanuel


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