• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate query for fetching xml data?

 
Edward Durai
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Using Hibernate query how to fetch each node and its value

for eg.
----------------------------------------------------
ID XML
----------------------------------------------------
1 <ISSUELIST data_1="1" data_2="3">
2 <ISSUELIST data_1="2" data_2="1">
3 <ISSUELIST data_1="0" data_2="2">

--------------------------------------------------------

Upto 2000 records, using dom parser its very slow (6 seconds). for fetching particular nodes and its value

I want result like
------------------
Node value
------------------
data_1 1
data_1 2
data_1 0


Any body helps this probs. using Hiberante query only

Thanks
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!