File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 61434
    
  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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: The driver generated a "Value can not be converted to the requested type"