[ 
http://jira.codehaus.org/browse/MHIBERNATE-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235410#action_235410
 ] 

Bruno Medeiros commented on MHIBERNATE-112:
-------------------------------------------

Actually, looking deep into code, the 'update' actions calls the SchemaUpdate 
class without set outputfilename, delimiter, haltOnError and format. Finally, 
it doesn't log the update exceptions.

What I did was just call the same methods called in SchemaExport in the 
SchemaUpdate.

Could you please apply this patch to the 2.3 version?

> <outputfilename/> being ignored if <update>true</update> 
> ---------------------------------------------------------
>
>                 Key: MHIBERNATE-112
>                 URL: http://jira.codehaus.org/browse/MHIBERNATE-112
>             Project: Maven 2.x Hibernate Plugin
>          Issue Type: Bug
>          Components: hbm2ddl
>    Affects Versions: 2.2
>            Reporter: Bruno Medeiros
>            Assignee: Johann Reyes
>         Attachments: hibernate3-maven-plugin-2.2-patch-jira-112.jar, 
> MHIBERNATE-112.patch
>
>
> If I put an <outputfilename> an mark <update>true</update> on plugin 
> configuration, the script is only outputted to console, no file is created. 
> It occours because in case of <update>true</update>, the property 
> 'outputFile' of SchemaUpdate class is not set.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to