aspose file tools*
The moose likes JDBC and the fly likes UNKNOWN type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "UNKNOWN type" Watch "UNKNOWN type" New topic
Author

UNKNOWN type

jrookie
Greenhorn

Joined: Aug 20, 2002
Posts: 17
hello
i have mysql table with type "YEAR"
and i getColumnTypeName for it
it's return "UNKNOWN"
sql.Types don't support this type
how i can use it ???
thanks
user guest
Greenhorn

Joined: Oct 09, 2002
Posts: 1
do you mean support in switch statement like that
switch (columnTypes)
{
VARCHAR:ResultSet.getString();
or how you want support YEAR type ???
Michael Matola
whippersnapper
Ranch Hand

Joined: Mar 25, 2001
Posts: 1752
    
    2
user guest,
Take a look again at the
JavaRanch Naming Policy. "User guest" is obviously fictiously. If you've got to use a fictious name, don't choose an obviously fictitious one. Otherwise, your account will be closed.
Change your display namehere.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: UNKNOWN type