This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes java.lang.NumberFormatException: For input string -- column is a boolean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "java.lang.NumberFormatException: For input string -- column is a boolean" Watch "java.lang.NumberFormatException: For input string -- column is a boolean" New topic
Author

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

Frank Serkland
Ranch Hand

Joined: Jun 21, 2010
Posts: 104
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

Joined: Jun 21, 2010
Posts: 104
I've got a different problem now, so don't bother with this thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NumberFormatException: For input string -- column is a boolean
 
Similar Threads
How should JPQL query look like for described scenario?
java.lang.NumberFormatException - For input string:
Autocomplete bug (with primefaces)
storing sequence array in DB
Mapping document query