Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.NumberFormatException: For input string -- column is a boolean

 
Frank Serkland
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the following error:



The problem is that the approved column is a boolean in my database, or so I believe. Here is how I have it defined.



This is the line in my code where I'm defining the call to the database.



Here is how I have it defined in my model class.



I've tried printing out the list in my controller class, and I get the following error.

 
Frank Serkland
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a different problem now, so don't bother with this thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic