This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Oracle JDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle JDK" Watch "Oracle JDK" New topic
Author

Oracle JDK

David Fahy
Greenhorn

Joined: Feb 13, 2004
Posts: 6
Hi all,
I am trying to write a stored procedure in pl/sql to encrypt some fields in my database(Oracle 9i). I am using a java method wrapped in pl/sql to do the encryption/decryption. The problem is that I cannot access the javax.crypto classes (secretkeyfactory etc). I have included all the JCE jar files in the {java.home}/lib/ext/ directory and I have updated the java.security file to use security.provider.3=com.sun.crypto.provider.SunJCE. My java method compiles and works fine outside oracle (using the websphere JDK) and also compiles and runs when using the Oracle JDK outside the database but once I have loaded the method into the database (loadjava) it will not compile using the internal oracle JDK. There must be some configuration that I have overlooked. I have also included the java home directory path in my classpath. Any help would be greatly appreciated. Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oracle JDK
 
Similar Threads
JDBC OR HIBERNATE ?
I'm trying to learn Oracle PL/SQL but want to know if this book I'm using is O.K.
Installing the Data base, Application server, IDE together
Why PL/SQL when you could use Java?
Oracle certs for Java developers - any advice ?