【问题标题】:Railo stored procedure in cfscriptcfscript 中的 Railo 存储过程
【发布时间】:2014-02-07 07:48:05
【问题描述】:

Railo 有吗

<cfscript>
svc = new storedProc();
</cfscript>

Google groups 似乎有一些关于它的讨论。

编辑:

我正在尝试这个:

<cfscript>
response = storedproc(procedure="app.GetErrorCodes",result="response",returncode="yes");
</cfscript>

我得到“找不到匹配的函数 [STOREDPROC]”

编辑 2:

这行得通:

<cfstoredproc procedure="app.GetErrorCodes" debug="yes" result="response" returncode="yes" >
</cfstoredproc>

除非我在结果中没有看到查询。

编辑 3:

这行得通:

<cfscript>
storedproc procedure="app.GetErrorCodes" result="response" returncode="yes";
</cfscript>

除了我没有在结果中看到查询。

哦,等等!我想我找到了! https://groups.google.com/forum/#!msg/railo/UUP0WRuLLX4/zpbKkvekDiAJ

终于!哇!这只花了一整天。

【问题讨论】:

  • 您最好在之前链接到的 Railo Google 群组中向 Railo 提问。他们的工程师很重视这一点。

标签: railo cfml


【解决方案1】:

Railo docs 网站显示这是受支持的

<cfscript>
  storedproc
  [blockfactor="number"]
  [cachedafter="datetime"]
  [cachedwithin="timeSpan"]
  [cachename="string"]
  [datasource="string"]
  [debug="boolean"]
  [password="string"]
  procedure="string"
  [result="string"]
  [returncode="boolean"]
  [timeout="number"]
  [username="string"] {
  }
</cfscript>

【讨论】:

  • 在什么方面不起作用?我并不是说它不起作用(!),但如果有问题,你应该把它带到 Railo 的 attn)
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2010-10-24
  • 2013-11-23
  • 2010-09-15
  • 2017-01-01
  • 2012-06-15
  • 1970-01-01
相关资源
最近更新 更多