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


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.


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,
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: 67925
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Database Java Developer's Guide

See loadjava.

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

Current Time: Thu Aug 05 17:55:42 CDT 2021