Bugs item #669746, was opened at 2003-01-18 01:34
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669746&group_id=40712

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: delimiterproblem in SchemaExport

Initial Comment:
There is a problem with the --delimiter option on the 
SchemaExport tool - I only get delimiters on the 
dropquries..?

Here is an example on something working and not 
working:

The following ANT-target works just fine with delimiters 
and all:

    <target name="make-hibernate-droptables-sql" 
depends="compile">
        <pathconvert refid="hibernate.mapping.files" 
property="hibernate.mappings" pathsep=" "/>
        <java 
classname="cirrus.hibernate.tools.SchemaExport" 
fork="true">
            <arg line="--drop --text --
output=deployment/hibernatedroptables.sql --delimiter=; 
${hibernate.mappings}"/>
            <jvmarg value="-
Dhibernate.dialect=cirrus.hibernate.sql.OracleDialect"/>
            <classpath refid="build.path.hibernate"/>
         </java>
    </target>

But this ANT-target only puts delimiters on half of the 
queries.. Actually the same queries that the other target 
generated..!

    <target name="make-hibernate-inittables-sql" 
depends="compile">
        <pathconvert refid="hibernate.mapping.files" 
property="hibernate.mappings" pathsep=" "/>
        <java 
classname="cirrus.hibernate.tools.SchemaExport" 
fork="true">
             <arg line="--text --
output=deployment/hibernateinittables.sql --delimiter=; 
${hibernate.mappings}"/>
             <jvmarg value="-
Dhibernate.dialect=cirrus.hibernate.sql.OracleDialect"/>
             <classpath refid="build.path.hibernate"/>
        </java>
    </target>


Cheers!
Simon Vogensen
[EMAIL PROTECTED]

----------------------------------------------------------------------

>Comment By: Gavin King (oneovthafew)
Date: 2003-01-18 10:56

Message:
Logged In: YES 
user_id=384580

Woops! Fixed in CVS....

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669746&group_id=40712


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to