-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate tools 3.1.0a5 vs Eclipse 3.1 using 2.0 DTDs?
PostPosted: Tue Oct 11, 2005 7:45 am 
Newbie

Joined: Fri Sep 30, 2005 5:33 am
Posts: 7
Hibernate version:
3.0.5, tools 3.1.0 alpha5

Mapping documents:
N/A

Code between sessionFactory.openSession() and session.close():
N/A

Full stack trace of any exception that occurs:
N/A

Name and version of the database you are using:
Oracle 9i

The generated SQL (show_sql=true):
N/A

Debug level Hibernate log excerpt:
N/A

After all my troubles getting Hibernate to work with Eclipse 3.1, which somehow seems related to the "System Library" checkmark being on or off (on=>won't work, off=>works), the Hibernate tools suddenly came alive as well. However, they didn't recognize my handcrafted mapping files. Before you start asking for them, I just dumped them and created them with the "New->Other->Hibernate" route. However, the newly created hibernate.cfg.xml and mapping documents are generated to use the 2.0 DTDs!?!?! Is that an option somewhere? Could it be another plugin confusing it? e.g. the Spring console? Anyone?

Bert Laverman


Top
 Profile  
 
 Post subject: Re: Hibernate tools 3.1.0a5 vs Eclipse 3.1 using 2.0 DTDs?
PostPosted: Tue Oct 11, 2005 7:56 am 
Newbie

Joined: Fri Sep 30, 2005 5:33 am
Posts: 7
Ok, let me answer this one myself. It was plugin confusion. Hibernate Mapper used the same New Tree, so wile I though I was using Hibernate Tools, I actually was using Hibernate Mapper. I disabled it and uninstalled it. Works fine now.

Cheers,
Bert


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 11, 2005 8:11 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
what is Hibernate Mapper ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Hibernate tools 3.1.0a5 vs Eclipse 3.1 using 2.0 DTDs?
PostPosted: Tue Oct 11, 2005 8:28 am 
Newbie

Joined: Fri Sep 30, 2005 5:33 am
Posts: 7
My mistake. It's called "Hibernate Synch". It looks quite nice, but appears to be for the 2.2 DTDs.

Bert


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.