[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2913) SchemaValidator should report the name of the table causing the error, not only the column

Xavier Poinsard (JIRA) noreply at atlassian.com
Fri Oct 26 02:50:39 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Poinsard updated HHH-2913:
---------------------------------

    Attachment: ValidateColumns.diff

The tiny patch for org/hibernate/mapping/Table.java fixing this.

> SchemaValidator should report the name of the table causing the error, not only the column
> ------------------------------------------------------------------------------------------
>
>                 Key: HHH-2913
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2913
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.2.5
>         Environment: Hibernate 3.2.5
> Postgresql 8.2
>            Reporter: Xavier Poinsard
>            Priority: Minor
>         Attachments: ValidateColumns.diff
>
>
> The SchemaValidator only reports the name of the column causing the error.
> This make it difficult to correct the table unless you put a breakpoint in the hibernate code.
> Sample output : 
> Wrong column type: ID, expected: int4

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

        



More information about the hibernate-issues mailing list