-->
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: Stuck creating console configuration using Eclipse tools
PostPosted: Tue Apr 12, 2011 5:17 pm 
Newbie

Joined: Tue Apr 12, 2011 5:08 pm
Posts: 4
Hello:

I'm trying to use the hibernate tools reverse engineering wizard for a new project with an existing MySql database. I have Eclipse 3.6, with the current Hbernate Tools for Eclipse installed ( Version: 3.4.v20110215-1252-H31-GA ).

I am trying to create a console configuration after creating the hibernate.cfg.xml using the UI plugin.

When I select type Core I get the following message:
"Could not parse configuration:C:\Projects\hibertest\src\hibernate.cfg.xml"
The configuration plugin launched when the cfg.xml file is open is able to parse and display it fine however.

When I select type "Annotations" the following message is displayed:
"Could not load AnnotationConfiguration"

When I select type "JPA" it displays "Persistence unit not found: 'null'.

Any suggestions for these issues?

Thanks,
Matt


Top
 Profile  
 
 Post subject: Re: Stuck creating console configuration using Eclipse tools
PostPosted: Tue Apr 12, 2011 7:35 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
What is the full error/stack trace ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Stuck creating console configuration using Eclipse tools
PostPosted: Wed Apr 13, 2011 11:36 am 
Newbie

Joined: Tue Apr 12, 2011 5:08 pm
Posts: 4
I was using the GUI plugin, I was only able to see a basic dialog window with the error message.


Top
 Profile  
 
 Post subject: Re: Stuck creating console configuration using Eclipse tools
PostPosted: Thu Apr 14, 2011 8:30 am 
Senior
Senior

Joined: Tue Aug 04, 2009 7:45 am
Posts: 124
It should also appear in Error view.


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.