-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Using Hibernate Query, how to fetch xml file nodes?
PostPosted: Tue Jun 20, 2006 7:51 am 
Beginner
Beginner

Joined: Mon Jan 30, 2006 2:28 am
Posts: 47
Location: INDIA
Hi,
I am using Hibernate. I am trying to solve the below problem using Hibernate query.

i have two fields one id, and xml data.
i want to solve the problem using hibernate query.

i have a xml like this

<ISSUES Data_26="" Data_27="-1" Data_28="-1" Data_29="-1" Data_31="-1" Data_32="-1" Data_33="-1" Data_34="29"/> .

This record is stored in database.

My question is
1.how can i retrive each node.
2.display all the record data_26's and its value
eg search xml data: data_27 means

the output is
==================
id xmldata
==================
1 -1
---------------------------------

which is the best java xml parser is suitable and solve this.

Thanks

_________________
A.Edward Durai
"The things which are impossible with men are possible with God."


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.