db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TORQUE-307) Qualified update columns do not work with Postgresql
Date Sun, 15 Dec 2013 13:07:06 GMT
Thomas Fox created TORQUE-307:

             Summary: Qualified update columns do not work with Postgresql
                 Key: TORQUE-307
                 URL: https://issues.apache.org/jira/browse/TORQUE-307
             Project: Torque
          Issue Type: Bug
          Components: Runtime
    Affects Versions: 4.1
         Environment: postgresql 9.1.5
            Reporter: Thomas Fox
            Assignee: Thomas Fox
             Fix For: 4.1

In the current trunk, updates result in SQL like
UPDATE author SET author.name='NewName2' WHERE author.author_id=31147;

Note the qualified column name after the SET keyword

This does not work with postgreql. in postgresql, the update column name needs to be unqualified,

UPDATE author SET name='NewName2' WHERE author.author_id=31147

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message