[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2161) hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect, sqltype = char, NUL but not NULL.
Steve Ebersole (JIRA)
noreply at atlassian.com
Thu Oct 19 09:35:04 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2161?page=comments#action_24897 ]
Steve Ebersole commented on HHH-2161:
-------------------------------------
I have no idea what the problem you are reporting is supposed to be. Perhaps a test case might be best?
> 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
> Type: Bug
> Environment: hibernate-3.2.0.cr5.jar, postgresql 8.1.x
> Reporter: Shutra
>
>
> 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