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.  [ 2 posts ] 
Author Message
 Post subject: DDL generation fails without error
PostPosted: Wed Aug 24, 2005 11:54 am 
Regular
Regular

Joined: Wed Aug 24, 2005 11:49 am
Posts: 63
Hi,

I try to generate DDL with hbm2ddl using annotations.
It works for small tests, but fails on a large model (over 50 classes) without giving an error message!

If I remove classes, I do get error messages that classes are not mapped that are needed for OneToMany etc. So I cannot figure out which class is causing problems....

I use:
hibernate 3_0_5
hibernate_annotations 3_0_beta2
hibernate_tools 3_0_0_alpha4a

It was extremely painfull to get a combination of jars working in the first place, I couldn't get the latest versions properly working (errors like NoSuchMethod, TypeNotFound exceptions, etc.).

Anyone know this problem?

Cheers,

Edwin


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 24, 2005 1:07 pm 
Expert
Expert

Joined: Wed Apr 06, 2005 5:03 pm
Posts: 273
Location: Salt Lake City, Utah, USA
try setting the hibernate logging to DEBUG, to see what it tells you. the core hibernate logger is 'org.hibernate', and there is a hbm2ddl logger, i think it is 'org.hibernate.tool.hbm2ddl'.

See http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-logging


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