【发布时间】:2018-11-05 03:04:23
【问题描述】:
我在 oracle 12 中有一个包,它声明了自己的类型以供不同的存储过程处理,层次结构是:
我正在尝试调用使用此类型作为 IN 参数的存储过程,但是当我尝试执行此 java 代码时:
StructDescriptor sd = StructDescriptor.createDescriptor("PKG_ACEPTACION_SOLICITUD.tb_basicos", conexion);
ArrayDescriptor ad = ArrayDescriptor.createDescriptor("PKG_ACEPTACION_SOLICITUD.rg_basicos", conexion);
...例外是:
Unable to resolve type "PKG_ACEPTACION_SOLICITUD.tb_basicos"
但是,当我从声明为 public 的类型创建 java 对象时,在包之外,proccess 可以正确运行。
【问题讨论】:
标签: java oracle jdbc plsql oracle11g