This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 63053
    
  69

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]
 
jQuery in Action, 3rd edition
 
subject: The driver generated a "Value can not be converted to the requested type"
 
It's not a secret anymore!