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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 1740
    
    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.
 
Don't get me started about those stupid light bulbs.
 
subject: UNKNOWN type
 
Similar Threads
Problem creating WebServices on RAD
Problem putting applet on Web page
Please a lady with apache/tomcat error
java.lang.verifyError;Illegal target of jump or branch
Set my Java application as the default program to open a file extension