Search code examples
phpmysqlinnodbpropelisolation

how can i set isolation level with propel?


i use mysql, php on propel.

i have used transaction row lock on mysql with native SQL query(e.g. SELECT FOR UPDATE). and now , I'm using propel to use ORM.

but propel is not support row lock by propel transaction limitations .

Here is MYSQL InnoDB Lock Modes .

any ideas for overcome this problem?


Solution

  • As Propel does not support this, the only solution I see would be to execute raw SQL.