[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2315) Relax SchemaUpdate/SchemaValidator complaining about compatible types

Diego Pires Plentz (JIRA) noreply at atlassian.com
Fri Nov 9 19:48:30 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28759 ] 

Diego Pires Plentz commented on HHH-2315:
-----------------------------------------

* Researching

I think that the compatibles could be:

- BIT, BIGINT, INTEGER, TINYINT, SMALLINT
- REAL, DOUBLE, FLOAT, NUMERIC, DECIMAL
- CHAR, VARCHAR, LONGNVARCHAR, NVARCHAR, NCHAR
- TIMESTAMP, DATE, TIME
- BINARY, VARBINARY, LONGVARBINARY

And to be even more "compatible", we could also accept that columns mapped as BIT, BIGINT, INTEGER, TINYINT, SMALLINT can be REAL, DOUBLE, FLOAT, NUMERIC, DECIMAL.

> Relax SchemaUpdate/SchemaValidator complaining about compatible types
> ---------------------------------------------------------------------
>
>                 Key: HHH-2315
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2315
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>            Reporter: Max Rydahl Andersen
>            Assignee: Max Rydahl Andersen
>
> http://jira.jboss.com/jira/browse/JBSEAM-596
> SchemaUpdate and SchemaValidator must accept compatible types, like:
> - CHAR, VARCHAR
> - NUMERIC, DECIMAL

-- 
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