Home » Developer & Programmer » JDeveloper, Java & XML » Using java.lang.Math in Oracle (Oracle Database 10g Enterprise Edition (10.2.0.4))
Using java.lang.Math in Oracle [message #583168] Fri, 26 April 2013 08:20 Go to next message
manubatham20
Messages: 450
Registered: September 2010
Location: Champaign, IL
Senior Member

Hi,

I am trying to execute an xslt (for XML transformation) using xmltype.transform function.
I can't paste XSLT code here, but below is similar what I am doing.

http://stackoverflow.com/questions/2485874/lpx-00607-for-oracontains-in-java-but-not-sqlplus

I have used a reference of random() method of java.lang.Math in xslt file, and it's giving me below error.

ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00607: Invalid reference: 'random'.


I doubt, it's because of "Math" class, which is not present in Oracle, can someone help, how to load standard java classes.

Many thanks,
Manu
Re: Using java.lang.Math in Oracle [message #583177 is a reply to message #583168] Fri, 26 April 2013 09:10 Go to previous message
Michel Cadot
Messages: 58861
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Database Java Developer's Guide

See loadjava.

Regards
Michel
Previous Topic: Help On Concatenation using XMLAGG function
Next Topic: Writing XML to Oracle directory
Goto Forum:
  


Current Time: Sat Aug 23 08:40:43 CDT 2014

Total time taken to generate the page: 0.31900 seconds