[hibernate-issues] [Hibernate-JIRA] Created: (HBX-927) Incorrect syntax on insert statement
Robert Stone (JIRA)
noreply at atlassian.com
Tue Apr 10 21:15:06 EDT 2007
Incorrect syntax on insert statement
------------------------------------
Key: HBX-927
URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-927
Project: Hibernate Tools
Issue Type: Bug
Environment: Hibernate 3.1.3 Postgres 7.4.7 Tomcat 5.5.12 localhost running on Debian AMD 64
Reporter: Robert Stone
All of a sudden, any insert statement constructed by Hibernate has this "select scope_identity()" appended to it that naturally causes a SQLGrammar exception.
This occurred one day to the next. There has been NO change to the operating environment.
The box accessible by users has exactly the same environment except it is an Intel chipset and it is working as normal.
Hibernate: insert into mothers_medical_history (au_vers_numb, date_of_occurrence, icd_code, mmh_comments, record_created_by, datetime_created, mothers_id) values (?, ?, ?, ?, ?, ?, ?) select scope_identity()
Can anybody help?????
--
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