Yes, it is called XML-SQL(XSU) Utility. I ran a test this morning and
it worked. It is much simpler. I did not have to write anycode. I
needed to specify a different connect string to get it working. I
loaded JDeveloper 3.2.3 to do it. I believe, I could have done it by
downloading jdk 1.2 and using libraries that came with Oracle. My notes
are shown below. You can see the document in 'Oracle Application
Developer's Guide -XML Release 3(8.1.7).
Regards,
Shakir
------------------------
XML file load into oracle
<?xml version='1.0'?>
<ROWSET>
<ROW num="1">
<EMPNO>8000</EMPNO>
<ENAME>Smith</ENAME>
<JOB>CLERK</JOB>
<MGR>7902</MGR>
<HIREDATE>12/17/2002 0:0:0</HIREDATE>
<SAL>800</SAL>
<DEPTNO>20</DEPTNO>
</ROW>
</ROWSET>
Install JDeveloper for java.exe or download jdk1.2 from web
Add to classpath.bat. Files shown here are from JDeveloper
First three files are needed for XML load. The last three added to run
java
set CLASSPATH=c:\Program Files\Oracle\Jdeveloper 3.2.3\lib\xsu12.jar;
c:\Program Files\Oracle\JDeveloper 3.2.3\lib\xmlparserv2.jar;
C:\Program Files\Oracle\JDeveloper
3.2.3\jdbc\lib\oracle8.1.7\classes12.zip;
c:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\dt.jar;
C:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\lib\jvm.lib;
C:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\lib\jvm_g.lib;
C:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\lib\tools.jar
run Classpath.bat
Following command worked on amd1400 oracle 8.1.7 personal with patch
8.1.7.3
java OracleXML putXML -user 'scott/tiger" -conn
"jdbc:oracle:thin:@amd1400:1521:amd1400"
-user "scott/tiger" -filename "c:\emp.xml" emp
java OracleXML putXML -user 'scott/tiger" -conn
"jdbc:oracle:thin:scott/tiger@amd1400:1521:amd1400"
-user "scott/tiger" -filename "c:\emp.xml" emp
emp - table name
-conn Url
--- "Schauss, Peter" <[EMAIL PROTECTED]> wrote:
> Is there a utility similar to SQLLDR which will load tables
> from XML files?
>
> I found the Java and PL/SQL APIs for loading tables from
> XML files and wrote a trivial Java application to load data so
> my immediate problem is solved. I just wanted to make sure
> that I hadn't missed a simpler way to do it.
>
> thanks,
> Peter Schauss
> Northrop Grumman Corporation
> [EMAIL PROTECTED]
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Schauss, Peter
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing
> Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
=====
Mohammed Shakir
CompuSoft, Inc.
11 Heather Way
East Brunswick, NJ 08816-2825
(732) 672-0464 (Cell)
(732) 257-6001 (Home)
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mohammed Shakir
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).