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 <[email protected]> wrote: > 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'") > ->execute(); > return true; > } > > > while versioning working on symfony generated module can someone help > me on this > > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
