-->
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: Maven, Hibernate and HBM to DDL creation
PostPosted: Tue Oct 24, 2006 11:50 pm 
Newbie

Joined: Tue Oct 24, 2006 11:43 pm
Posts: 5
Hi
I want to convert my hbm files to SQL. Thats about it.
I installed the maven-hibernate-plugin 1.3.

Where do i need to put the hibernate.properties file?

C:\project\*.hbm.xml
C:\project\hibernate.properties

Thats where my hbm files are.

I run
C:\priject\maven hibernate:schema-export

and it fails build saying set the dialect.

Where do I put the properties file to make that work? Also will I have to point something in the properties file to the hbm files? or will it just pick them up from the current directory?

Do i need any project.xml project.properties? For I have none of those.

All I want to do is use maven to convert the hbm file to sql file. And prolly write a goal just to do that.

Thanks.


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.