Questions tagged [loadjava]

loadjava is a utility application for Oracle databases which uploads Java files using the SQL CREATE JAVA statement to load the Java files into the Oracle database as schema objects.

35 questions
0
votes
1 answer

Oracle Java stored procedures classpath order

In a standard JVM I can re-order my classpath to "hide" similar classes (move desired implementation of a class/interface to the front of the classpath). How I can achieve this behaviour in the internal database JVM (e.g. 11g)? Is this the order of…
witchi
  • 345
  • 3
  • 16
0
votes
0 answers

Oracle Error using loadjava (ORA-29532)

When I try to load a jar containing an interface in Oracle12c thanks to this command: loadjava -v -r -u user@localhost:1521:SCM -resolver "((* SCM) (* PUBLIC) (* -))" C:\PATH\message-sender-0.1.0-SNAPSHOT.jar All classes are well loaded but no one…
Max
  • 81
  • 1
  • 5
0
votes
1 answer

Error compilation oracle loadjava innerclass

I want to load some Java classes in oracle db 12c. When I compile locally all .java and load the resulting classes, there isn't any problem. But if I want to use the Oracle server-side compiler instead, i.e. load the .java source files, there are…
Ludo
  • 157
  • 13
0
votes
1 answer

DBMS_RUNJAVA doesn't find my class

I would like to run a java program on my oracle server 12C. I tried that but it's not working : CREATE OR REPLACE JAVA SOURCE NAMED "HELLO" AS public class Hello { public static void main(String[] args){ System.out.println("succeed"); …
Ludo
  • 157
  • 13
0
votes
2 answers

loadjava seems work but the query doesn't work on oracle sql developer

I am trying to load a java class to oracle as a function. In the server I managed to use loadjava as below: C:\Users\n12017>loadjava -user USER1/passw…
mlee_jordan
  • 772
  • 4
  • 18
  • 50
1 2
3