Вопрос

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?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top