jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets 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
storing sequence array in DB
Mapping document query
Autocomplete bug (with primefaces)
java.lang.NumberFormatException - For input string:
How should JPQL query look like for described scenario?