-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Tools 5 alpha forces use of Hibernate Annotations?
PostPosted: Tue Aug 30, 2005 11:45 am 
Beginner
Beginner

Joined: Mon Jun 06, 2005 6:48 pm
Posts: 45
Hi,

When trying to use Hibernate Tools 3.1 alpha 5 I noticed I needed to add a package name to the generated hbm files so I did as needed.

Then at runtime I got the exception that I needed to use AnnotationConfiguration but it seems as if that only works with Hibernate 3.1 beta 2 and jdk 1.5. I am trying to stay with the production release of 3.0.5.

Any thoughts or recommendations?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 12:58 pm 
Beginner
Beginner

Joined: Mon Jun 06, 2005 6:48 pm
Posts: 45
After some testing looks as if you put in package package name in hibernate.cfg.xml versus specifying it as an attribute for hibernatetool subtask jdbcconfiguration makes a big difference in what hibernate requires for runtime. Not sure if this is true for other mapping file attrbutes or tasks.

If you want to use hibernate 3.0.5 with hibernatetools 3.1 alpha 5 and want to specify paackage name put it in the jdbcconfiguration task as an attribute.


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