-->
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: Can I generate "delta" update in file instead dire
PostPosted: Wed Apr 26, 2006 6:53 am 
Beginner
Beginner

Joined: Wed Jan 21, 2004 10:52 pm
Posts: 27
Location: Santa Cruz do Sul - RS - Brazil
Hi,

I'm using Hibernatetool to generate my DB from EJB3 PAR File.It works fine, but...I would like to generate the "delta" update DLL in file instead direct execution in database.

My ant target is:
Code:
   <target name="bd.ddl" depends="init">
      <hibernatetool destdir="${build.dir}">

         <ejb3configuration />

         <classpath>
            <path location="${build.dir}/${application.name}.jar" />
         </classpath>

         <hbm2ddl export="false" outputfilename="${application.name}_sql_create.ddl" />

         <hbm2ddl export="false" update="true" outputfilename="${application.name}_sql_update.ddl" />

      </hibernatetool>
   </target>


But the file "${application.name}_sql_update.ddl" was not generated. The Hibernatetool direct execute the delta updates in DB...

What's wrong?

Versions:

hibernate - 3.2.0cr1
hibernate-annotations - 3.1beta9
hibernate-entitymanager - 3.1beta7
hibernate-tools - 3.1.0beta5

_________________
Do you still create DTO factories? Oh, no!
Try DTOptimzier now!
https://dtoptimizer.dev.java.net/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 9:48 am 
Newbie

Joined: Tue May 02, 2006 12:32 pm
Posts: 8
Did you ever get this to generate DDL ? I have the same issue, using hibernate-tools 3.2.0.beta8


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.