[英]Calling Oracle functions from EJB in Seam framework
I am using seam framework and struggling to call a Oracle function. 我正在使用seam框架并努力调用Oracle函数。 In my EJB, I am creating a namedQuery and when I call my
entityManager.getResult()
I get the following error: 在我的EJB中,我正在创建一个namedQuery,当我调用我的
entityManager.getResult()
,出现以下错误:
PLS-00222: no function with name 'jjhg' exists in the scope.
PLS-00222:范围中不存在名称为“ jjhg”的功能。
(jjhg is the name of my oracle function) (jjhg是我的oracle函数的名称)
There are a couple of things which might cause this: 有几件事可能导致此:
As you're using a framework to call the program unit I suspect the first explanation is the more likely. 当您使用框架来调用程序单元时,我怀疑第一种解释更有可能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.