Re: executeUpdate query not working on grails spock test
I guess that spec is failing, because
even after you update that entity in the db, that doesn't update
the merchantTier instance in the session (i.e., in RAM). Also, in
the db, it might look like the update doesn't work, because an
IntegrationSpec uses a test transaction by default.
On 2015-10-25 22:25 , Amit Shah wrote:
hi i m new to grails . willing to do integration
test as below but
problem is that
"MerchantTier.executeUpdate('update MerchantTier..........') here update does not working"
Please help suggest me
Thanks in advance.