-->
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.  [ 7 posts ] 
Author Message
 Post subject: A brand new way of specifying hibernate mapping.
PostPosted: Wed Mar 31, 2004 11:42 pm 
Newbie

Joined: Wed Mar 31, 2004 11:16 pm
Posts: 3
Hi,

Has anyone ever come across the idea of hibernate mapping just using the up-coming metadata in JDK 1.5? I don't mean doing things like using xdoclet -- generating mapping files according to metadata -- in that case, you still have to keep an eye on the mapping file, worrying about misplacing it. I mean hibernate could genuinely treat the jdk1.5 metadata as the mapping itself, thus it really achieves putting-one-thing-at-one-place.

Wouldn't it be great that we don't even have to write the separated xml mapping files? (Although, we might still have to write the configuration file, but I guess 99% of the time is spent on the mapping files)

The user would only have to specify the CLASSes instead of the MAPPING FILEs in the configuration file. This will be great for both users and tool-makers.

Sorry I didn't give a very serious thought about the feasibility. However, I think since the current xml mapping file is organized on a class-members basis, which is exactly how the metadata is organized. This would give a very strong support for migration.

Any deas?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 01, 2004 3:12 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I'm currently implementing this feature.

_________________
Emmanuel


Top
 Profile  
 
 Post subject: Timeline or schedule?
PostPosted: Thu Apr 01, 2004 7:56 am 
Newbie

Joined: Wed Mar 31, 2004 11:16 pm
Posts: 3
Oh that sounds great! Does this require a big revamp on hibernate or it's just a touch-up? Is there any set schedule of the release of this feature?

________
nick


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 01, 2004 12:23 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
It will be on top of Hibernate3 and won't change any part (or minimal) of Hibernate core.
No schedule except it will be done when it will :)

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 01, 2004 2:19 pm 
Newbie

Joined: Wed Mar 31, 2004 11:16 pm
Posts: 3
I saw gavin's blog today also, thumbs up!!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 18, 2004 10:04 am 
Beginner
Beginner

Joined: Mon Jun 07, 2004 4:21 pm
Posts: 44
Location: Boston
Could you please point me to this particular blog? I couldn't find it - Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 21, 2004 2:57 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
This is summarized here http://www.hibernate.org/200.html

_________________
Emmanuel


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