wood burning stoves 2.0*
The moose likes JDBC and the fly likes The driver generated a 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 » JDBC
Bookmark "The driver generated a "Value can not be converted to the requested type"" Watch "The driver generated a "Value can not be converted to the requested type"" New topic
Author

The driver generated a "Value can not be converted to the requested type"

shi yongfei
Greenhorn

Joined: Nov 13, 2002
Posts: 7
hi,
The driver generated a "Value can not be
converted to the requested type" exception when using getObject or getDouble to
fetch a REAL column defined with the NOT NULL clause.
why? and how?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Welcome to the Ranch sky tone!
You'll find this forum a great place to seek help on JDBC pages, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
Thanks!
bear
JSP/JDBC Fourm Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The driver generated a "Value can not be converted to the requested type"
 
Similar Threads
SQL Server and real data type
EJB QL question . Help
MS SQL Server and alue can not be converted to requested type
crc of String
Callable Statement Cache Size