-->
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.  [ 9 posts ] 
Author Message
 Post subject: Hibernate code generation tool not working in eclipse
PostPosted: Thu May 07, 2009 12:39 pm 
Newbie

Joined: Tue May 05, 2009 4:08 am
Posts: 5
I create a code generation configuration setup a reveng file with the entities to be created. I create a console configuration and can connect to the database and see the various tables. But when I run the code generation configuration no code gets created.

Help


Top
 Profile  
 
 Post subject: Re: Hibernate code generation tool not working in eclipse
PostPosted: Fri May 08, 2009 10:22 am 
Beginner
Beginner

Joined: Tue Mar 10, 2009 11:50 pm
Posts: 23
Are you ensuring in your Hibernate Code Generation Configurations settings you are providing correct options ?

In the main screen are you specifying console configuration and output directory,

In the Main Tab,

1. you need to check the 'Reverse engineer from JDBC Connection'

In the Exporters Tab,

1. you need to check the kind of exporter you need

_________________
Cheers,

Vinod
We act as though comfort and luxury were the chief requirements of life, when all that we need to make us happy is something to be enthusiastic about


Top
 Profile  
 
 Post subject: Re: Hibernate code generation tool not working in eclipse
PostPosted: Fri May 08, 2009 12:13 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
..and what database are you using ?

If oracle remember to use uppercase shcema's.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Hibernate code generation tool not working in eclipse
PostPosted: Sun May 10, 2009 6:45 am 
Newbie

Joined: Tue May 05, 2009 4:08 am
Posts: 5
Vinu wrote:
Are you ensuring in your Hibernate Code Generation Configurations settings you are providing correct options ?

In the main screen are you specifying console configuration and output directory,

In the Main Tab,

1. you need to check the 'Reverse engineer from JDBC Connection'

In the Exporters Tab,

1. you need to check the kind of exporter you need


the code configuration settings seem correct. I have checked the reverse engineer from JDBC Connection and i have checked in the exporters DAO code and hibernate xml mappings and have set a reveng file.
I am using mysql as database.


Top
 Profile  
 
 Post subject: Re: Hibernate code generation tool not working in eclipse
PostPosted: Mon May 25, 2009 8:54 am 
Newbie

Joined: Tue May 05, 2009 4:08 am
Posts: 5
Still no progress on this. I am stuck with this problem. whenever i click on generate i don't get any new files. Is there a way around this ?


Top
 Profile  
 
 Post subject: Re: Hibernate code generation tool not working in eclipse
PostPosted: Mon May 25, 2009 9:03 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
anything in the error log ?

Can you browse the db via the reveng.xml editor ? console tree ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Hibernate code generation tool not working in eclipse
PostPosted: Fri May 29, 2009 1:30 am 
Newbie

Joined: Tue May 05, 2009 4:08 am
Posts: 5
max wrote:
anything in the error log ?

Can you browse the db via the reveng.xml editor ? console tree ?


where do i access the error log? in eclipse it doesn't show me any errors

as for browsing the database yes I can do that in both the reveng.xml editor and the console tree. I see the tables and everything.


Top
 Profile  
 
 Post subject: Re: Hibernate code generation tool not working in eclipse
PostPosted: Sat Jun 06, 2009 1:22 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Window > Show View > Error Log

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Hibernate code generation tool not working in eclipse
PostPosted: Sat Oct 24, 2009 1:53 pm 
Newbie

Joined: Sat Oct 24, 2009 1:48 pm
Posts: 1
I am having same problem. Any solution for this.


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