[ https://forge.continuent.org/jira/browse/SEQUOIA-909?page=all ]
Emmanuel Cecchet resolved SEQUOIA-909:
--------------------------------------
Assign To: Mathieu Peltier (was: Emmanuel Cecchet)
Resolution: Fixed
Fix Version: Sequoia 3.0 beta3
Patch integrated in CVS HEAD
> Sequoia does not support INSERT INTO table DEFAULT VALUES syntax
> ----------------------------------------------------------------
>
> Key: SEQUOIA-909
> URL: https://forge.continuent.org/jira/browse/SEQUOIA-909
> Project: Sequoia
> Type: Bug
> Components: Core
> Versions: Sequoia 3.0 beta3
> Reporter: Guillaume Smet
> Assignee: Mathieu Peltier
> Priority: Minor
> Fix For: Sequoia 3.0 beta3
> Attachments: 909.InsertRequest.java.patch
>
>
> As reported by Denis Garyachy in the Hibernate test cases results, Sequoia
> does not support DEFAULT VALUES syntax of INSERT queries:
> Message of cause: Unknown table '' in this INSERT statement: 'insert into aaa
> default values'
> See for example, the syntax of INSERT for PostgreSQL:
> INSERT INTO table [ ( column [, ...] ) ]
> { DEFAULT VALUES | VALUES ( { expression | DEFAULT } [, ...] ) | query }
> Note that the problem was initially reported by using SQL Server dialect of
> Hibernate.
> I attached a patch to fix this problem. I explicitely put DEFAULT VALUES on
> the same level as VALUES and SELECT even if it's a bit redundant as they are
> completely different things.
> --
> Guillaume
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia