RE: Postgresql table aliases
Thomas Fischer <[email protected]> Thu, 12 Nov 2009 09:22:09 +0100
| Newsgroups | gmane.comp.jakarta.turbine.torque.user |
|---|---|
| Message-ID | <OFFB150BDC.ED9A30A5-ONC125766C.002DC356-C125766C.002DF9BC@seitenbau.net> |
I cannot reproduce this. When I run the DataTest.testUpdate in the test project I see the following update statement in the save() method of an updated author: UPDATE author SET name = ? WHERE author_id = ? Could you provide more detail how the update clause is produced ? Thomas > ... > Now I'm trying to migrate everything for Postgresql but the main problem > is that when > I execute an UPDATE query I receive an error from torque, because the > update query automatically > generated are of the form > update a set a.b = c; > that in PostgreSQL it's an error because table name can't be a prefix > for a column in set statement. > > Do you know how it's possible to say torque to avoid column prefix in > this case? > > Thanks in advance, > Andrea. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >