GeeCON Prague 2014*
The moose likes JDBC and the fly likes type mapping ( image, longvarbinary) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "type mapping ( image, longvarbinary)" Watch "type mapping ( image, longvarbinary)" New topic
Author

type mapping ( image, longvarbinary)

ZhiningZhang
Greenhorn

Joined: Jun 13, 2001
Posts: 18
hello, all,
i got type "longvarbinary" by using ResultSetMetaData.getColumnTypeName() for Server SQL data type "image". How can I know the origianl type is image???
"ntext" of SQL Server is also "longvarbinary". The mapping relationship is many-to-one. Is it possible jdbc tell me the original data type???
Thanks! -Zhining
 
GeeCON Prague 2014
 
subject: type mapping ( image, longvarbinary)