[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2161) hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect, sqltype = char, NUL but not NULL.
Diego Pires Plentz (JIRA)
noreply at atlassian.com
Sun Nov 11 15:06:30 EST 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Pires Plentz resolved HHH-2161.
-------------------------------------
Assignee: Diego Pires Plentz
Resolution: Rejected
> hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect, sqltype = char, NUL but not NULL.
> ----------------------------------------------------------------------------------------------
>
> Key: HHH-2161
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2161
> Project: Hibernate3
> Issue Type: Bug
> Environment: hibernate-3.2.0.cr5.jar, postgresql 8.1.x
> Reporter: Shutra
> Assignee: Diego Pires Plentz
>
> When insert, if the sql type is char and the value is null, then the generated sql is like this:
> insert into table (column) values(?),
> then the postgresql said:
> insert into table(column) values(NUL)
> but not insert into table(column) value(NULL).
> Important: the sql type is character(in mapping file) and the java type is char.
--
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