How to include jar files to a Java Stored Procedure in Oracle?

岁酱吖の 提交于 2019-12-05 07:22:12
Martin Klinke

Use the loadjava tool, it accepts jar files, too: http://docs.oracle.com/cd/B19306_01/java.102/b14187/cheleven.htm#CACFHDJE

See also this related question (copied the above link from there): Setting classpath for a Java stored procedure in Oracle

I normally use this console command to add new jars to oracle:

exec dbms_java.loadjava('D:\temp\jcifs-1.3.19.jar');

In my case I added this library to connecto to windows shared folders from a oracle linux installation (smb). After the installation you may need to grant your user with permissions.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!