Re: [symfony-users] Versionable behavior not working for Doctrine query

2011-06-09 Thread Gábor Fási
Doctrine's Versionable behavior has no dql update listener. Retrieve the BankUser object first, update and save that and it'll work. On Thu, Jun 9, 2011 at 06:47, Raju yadavrajesh25j...@gmail.com wrote: hi , versionable not working on this query  public function

[symfony-users] Versionable behavior not working for Doctrine query

2011-06-08 Thread Raju
hi , versionable not working on this query public function updateUserBankBranch($userid,$bank_branch_id){ $q = $this-createQuery() -update('BankUser b') -set('b.bank_branch_id', $bank_branch_id) -where(b.user_id = '$userid')