I am building a Symfony 2.1 Doctrine 2.3 app. As I was not able to fully code the complex form, there is possibility that my few tables gets updated which I don’t want.
Is there any way that I can lock those tables so that whatever happens data doesn’t get updated there? Only records can be read only but no write in there.
Also doctrine should not show any error while doing that.
If you’re using annotations:
See the documentation for details.