db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: Postgresql table aliases
Date Thu, 12 Nov 2009 08:22:09 GMT
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: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


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


Mime
View raw message