Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Another reason for Empty DDL file
PostPosted: Mon Dec 22, 2008 9:47 pm 
Newbie

Joined: Wed Dec 10, 2008 8:42 pm
Posts: 3
Another reason you could have an empty DDL file is because you're trying to use autodetection of your Entities, as such:


Code:
          <property name="hibernate.archive.autodetection" value="class,hbm"/>


One requirement for using the autodetection, which you may have overlooked, is that your persistence.xml must exist in the same .jar file as your Entity classes. That's what got me...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

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.