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