• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UNKNOWN type

 
jrookie
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1820
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic