Procedures of Oracle in php with PDO

前端 未结 2 1990
无人及你
无人及你 2021-01-20 20:00

I\'m having a problem with propel 1.6 and a oracle procedure. I post it under PDO because I\'m Propel just for proxying my call to PDO.

Basically the procedure get t

2条回答
  •  既然无缘
    2021-01-20 20:40

    I'd suspect the problem is the first parameter. You tell PDO that it's a string (PDO::PARAM_STR) but it's actually types.cursorType. There's a user comment in the PHP manual that suggests that ref cursors are not supported.

    Unluckily, the Oracle driver for PDO is experimental and (IMHO) basically abandoned.

提交回复
热议问题