-->
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 tools - cannot create session factory
PostPosted: Sun Jul 23, 2006 1:04 am 
Newbie

Joined: Sun Jul 23, 2006 12:26 am
Posts: 2
This is day 1 of working with Hibernate. I'm working with hibernate tools and it mostly works perfectly, except that I can't run HQL queries. I've created my config and console config files, messed with the reverse engineering and I've been able to generate code, however in the Hibernate Console, under my Session Factory or attempt to run a query I get the error <Sessionfactory error: entity class not found>. I've included the generated mapping file in my console file, and the class structure displays under configuration. Furthermore I don't seem to have any problems working with the generated objects in my own code (yet). What might I be missing?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 23, 2006 3:31 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you haven't either:

a) compiled your classes

b) added the output path to the console configuration

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Thank you
PostPosted: Sun Jul 23, 2006 5:46 am 
Newbie

Joined: Sun Jul 23, 2006 12:26 am
Posts: 2
Makes sense now. Thanks!


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.