[hibernate-issues] [Hibernate-JIRA] Closed: (HBX-927) Incorrect syntax on insert statement

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Wed Apr 11 04:09:07 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen closed HBX-927.
-----------------------------------

    Resolution: Rejected

its definitly not related to an issue in the tools and is more a usage question so go to the user forum or get commercial support.

> 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