About java, have you any example ?
Main Topics
Browse All TopicsI have table in data base oracle :
create table MY_TABLE (
ID NUMBER(4) default 0,
SOURCE VARCHAR2(100) default 'N',
DEST VARCHAR2(100) default 'N',
DATE DATE default sysdate
);
I have xml document :
<NODE>
<DATA><HEADER DATE="2007/09/13 15:17:39" ID="305" />
<Notif>
<PROV DEST="DEST1" SOURCE="SOURCE1"></PROV>
</Notif>
</DATA>
<DATA>
<HEADER DATE="2007/09/13 15:18:39" ID="306" />
<Notif>
<PROV DEST="DEST2" SOURCE="SOURCE2"></PROV>
</Notif>
</DATA>
<DATA>
<HEADER DATE="2007/09/13 15:19:39" ID="307" />
<Notif>
<PROV DEST="DEST3" SOURCE="SOURCE3"></PROV>
</Notif>
</DATA>
<DATA><HEADER DATE="2007/09/13 15:19:40" ID="308" /></DATA>
<DATA><HEADER DATE="2007/09/13 15:19:42" ID="310" /></DATA>
<DATA><HEADER DEST="DEST4" SOURCE="SOURCE4" /></DATA>
<DATA><HEADER DEST="DEST5" SOURCE="SOURCE6" /></DATA>
</NODE>
I need to insert the values of attribute : ID, SOURCE, DEST, DATE into MY_TABLE in column values : ID, SOURCE, DEST, DATE.
I have to do thrugh sql loader or Java, as i need to load large data from the xml file(large file)
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here is an example for jdbc with oracle..
http://www.macs.hw.ac.uk/c
For parsing the xml and getting the values.. here is the good example with explanation..
http://www.totheriver.com/
Business Accounts
Answer for Membership
by: cmalakarPosted on 2008-01-16 at 04:24:53ID: 20671126
JAVA >>
Use JDBC to insert into database...
And use xml parsing for parsing and getting the values from xml..