This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
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 Soft Skills this week in the Jobs Discussion 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: 61756
    
  67

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"