Problem: how to deploy the .java functions into oracle db.
please Can anybody let me know how to deploy the .java functions into oracle db.I am new to it so kindly guide me through step by step.
Thanks in advance
Solution: how to deploy the .java functions into oracle db.
Check that from Metalink :
Checked for relevance on 15-APR-2008
Problem Description
——————-
You are attempting to load a Java source version (e.g. Class.java) when
you receive one of the following errors:
ORA-29537 class or resource cannot be created or dropped directly
or
ORA-29533 attempt to overwrite class or resource %s while compiling %s.%
Example 1:
loadjava -r -f -user scott/tiger@ Test01.java
Error while creating Test01
ORA-29533: attempt to overwrite class or resource Test01 while defining
or compiling SCOTT.Test01
Error while resolving class Test01
ORA-04043: object Test01 does not exist
Example 2:
Error while creating class Test01
ORA-29537: class or resource cannot be created or dropped directly
loadjava: 1 errors
Solution Description
——————–
You must drop the existing version that is stored in the database.
Example:
dropjava -user scott/tiger@ Test01.class
Explanation
———–
You cannot have both the source version and a class version of a Java object
in the database.
References
———-
Note 71548.1
Note 71552.1
Note 1014112.102
Oracle® Database Java Developer’s Guide
10g Release 2 (10.2)
Part Number B14187-01
Section 2 Java Applications on Oracle Database