• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data retrivel from DB using Hibernate

 
Shweta Save
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I m retriving data from db & trying to store it into an object
the code is given below



[Output]
[Ljava.lang.Object;@142bece
[Ljava.lang.Object;@142bece
[Ljava.lang.Object;@142bece
[Ljava.lang.Object;@142bece
[Ljava.lang.Object;@142bece
[Ljava.lang.Object;@142bece
[/Output]

where as the output should b in string format
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this post belongs to this forum?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ShwetaA SaveA", please check your private messages.
 
Campbell Ritchie
Marshal
Posts: 53207
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Himanshu Gupta:
Is this post belongs to this forum?
No.

Moving.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!