-->
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.  [ 5 posts ] 
Author Message
 Post subject: hibernate3-tools-alpha 1/2 not replying
PostPosted: Wed Jun 01, 2005 2:11 pm 
Newbie

Joined: Wed Jun 01, 2005 1:40 pm
Posts: 7
hi,

i have downloaded hibernate3-tools-alpha-1 and tried using.

Added new configuration named "hib". pointed hibernate.properties, hibernate.cfg.xml and added mysql-connector.jar to lib. also added project output path (bin) for pojos and *.hbm.xml files.

All done correct, because i get no error when doing "Create SessionFactory". (like couldt find *.hbm.xml, or mysql driver and hibernate.properties.) But nothing happens, nothing '+' comes next to "hib" to drill down tree (configuration name).

I intentionally did some wrong settings for testing. if i set something wrong i get error, Mapping Exception etc. so i am sure there is no error (when i do create sessionfactory cpu raising to top for a few seconds, but i think it is not sufficient to initialize hibernate, project has 46 hbm.xml files)

I have searched, read many forum posts and couldnt solve my problem.

I tried with Eclipse versions 3.1m4, 3.1m6 , 3.1RC1
Using hibernate 3.0.5 (just migrated from hibernate 2.1.8)
I have running a project under hibernate 3.0.5 , having same minor problems like hql differences.
Is there anyone had similar problems and solved. And does anybody know why console does not reply after "create sessionfactory".
Is there anyway to see what happens, logging etc.

(Also tried hibernate3-tools-alpha2 from jboss1.5M1 ide, Eclipse3.1M5A and wtp1.0.4 it doesnt work too.)

Thanks..


Top
 Profile  
 
 Post subject: schema creation
PostPosted: Wed Jun 01, 2005 2:21 pm 
Newbie

Joined: Wed Jun 01, 2005 1:40 pm
Posts: 7
forgot saying that, if i choose "Run SchemaExport" on my configuration it works nice. So i thought maybe entity tree have some problem, i wrote some query to hql query editor. it didnt worked.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 3:22 pm 
Hibernate Team
Hibernate Team

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

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 4:09 pm 
Newbie

Joined: Wed Jun 01, 2005 1:40 pm
Posts: 7
if you mean error log view, there seems no error.
Is there any error log file any other place ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 5:20 pm 
Newbie

Joined: Wed Jun 01, 2005 1:40 pm
Posts: 7
Finally i found a solution (spending whole day)

There were 2 problems.

1. to avoid Eclipse version problems, i downloaded what tools doc says (for alpha 2) and installed it. But i choose my old workspace (i use eclipse but different version 3.1m4 ). Whenever i do this it is no matter which eclipse version i try hibernate toolset doesnt work (tried 3.1m4, 3.1m5, 3.1m6, 3.1rc1 ). Finally i choose a different place as workspaca and that is it. Now everything seems working. Hibernate perspective open normally. (Previous trys couldnt show Error Log view )

2. As documentation says i added only jdbc driver and project output directory. All my pojos extending a class (MappedObject) . But this class is in a seperate jar. Due to toolset cant see it cause Error. I have read and add needed jar to Hibernate configuration. It is working now.

thanks for care max


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