Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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
Boost this thread!