-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate console with annoted classes without config file
PostPosted: Thu Apr 06, 2006 2:30 pm 
Newbie

Joined: Thu Apr 06, 2006 2:09 pm
Posts: 14
Hello,

I'm using spring to configure my sessionfactory so I don't have any xml configuration file (hibernate.cfg.xml) and I was wondering if there is any way to configure the hibernate console plugin to work with my annoted classes without a config file ?

Thanks

-Aymeric


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 07, 2006 2:32 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
we don't have ejb3 classpath autoscan in the eclipse plugin yet.

we do though have it for the ant task via <ejb3configuration/> but that still requires a correct persistence.xml

...note that in any case you still need to give us jdbc connection stuff via either persistence.xml, hibernate.properties or hibernate.cfg.xml

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 07, 2006 3:56 am 
Newbie

Joined: Thu Apr 06, 2006 2:09 pm
Posts: 14
That's no big deal for me as I use a PropertyPlaceholderConfigurer of spring to inject hibernate properties from the hbernate.properties file


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