File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 106
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: 106
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