dbTalk Databases Forums  

Oracle JDK

comp.database.oracle comp.database.oracle


Discuss Oracle JDK in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David
 
Posts: n/a

Default Oracle JDK - 02-13-2004 , 05:35 AM






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 (Cipher, 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
it will also complie and run using the oracle jbk but outside the
database but once I have loaded the method into the database 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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.