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 UNKNOWN type Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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: 1721
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: UNKNOWN type
 
Similar Threads
Please a lady with apache/tomcat error
Problem creating WebServices on RAD
Set my Java application as the default program to open a file extension
Problem putting applet on Web page
java.lang.verifyError;Illegal target of jump or branch