[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4592) Method getIdentityInsertString needed in InformixDialect
Magnus Lindkvist (JIRA)
noreply at atlassian.com
Thu Nov 19 05:57:08 EST 2009
Method getIdentityInsertString needed in InformixDialect
--------------------------------------------------------
Key: HHH-4592
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4592
Project: Hibernate Core
Issue Type: Bug
Components: query-sql
Affects Versions: 3.2.2
Environment: hibernate version 3.2.2, IBM Informix Dynamic Server Version 10.00.FC8, JDBC IBM Informix driver ver 3.00.JC3
Reporter: Magnus Lindkvist
Priority: Minor
Adding a row to a table with only one column of type SERIAL8 generates the query "INSERT INTO table_name VALUES ( )". Correct syntax for this is "INSERT INTO table_name VALUES (0)" in Informix.
Adding this in InformixDialect.java fixes this problem:
public String getIdentityInsertString() {
return "0";
}
--
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