This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with the BO

 
S.R.K.Vivek Raju
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I am trying to retrieve data from my database and I am using Hibernate as the middle tier, if i try to fetch more than 7 field data(columns), it gives an error "String index out of range" with 7 columns or less it works fine, I have checked the hbm.xml mapping file and the fields are identical to the BusinessOBjects.

The query is also fine as it works for fields less than 7.

Please advice,

With Regards
S.R.K.Vivek Raju
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Show us your code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic