-->
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.  [ 1 post ] 
Author Message
 Post subject: hbm2ddl Generates empty database schema
PostPosted: Wed Mar 09, 2011 10:25 pm 
Newbie

Joined: Wed Mar 09, 2011 10:18 pm
Posts: 1
According to the Tutorial i'm following the ant output should be:
Code:
...
10. [hibernatetool] Executing Hibernate Tool with a JPA Configuration
11. [hibernatetool] 1. task: hbm2ddl (Generates database schema)
12. [hibernatetool] drop table if exists jpa01_personne;
13. [hibernatetool] create table jpa01_personne (
14. [hibernatetool] ID integer not null auto_increment,
15. [hibernatetool] VERSION integer not null,
16. [hibernatetool] NOM varchar(30) not null unique,
17. [hibernatetool] PRENOM varchar(30) not null,
18. [hibernatetool] DATENAISSANCE date not null,
19. [hibernatetool] MARIE bit not null,
20. [hibernatetool] NBENFANTS integer not null,


My ant's execution gives me:
Code:
[hibernatetool] Executing Hibernate Tool with a JPA Configuration
[hibernatetool] 1. task: hbm2ddl (Generates database schema)
BUILD SUCCESSFUL


And stop without generating any statement into the empty sql file

Any suggestion ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.