File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes java sql TYPE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java sql TYPE" Watch "java sql TYPE" New topic

java sql TYPE

mark I thomas
Ranch Hand

Joined: Apr 07, 2008
Posts: 86
I am using MS SQL Server. I know java.sql.Types has different data type. How do I find the mapping relation between this and SQL server data type ? For example, SQL server has more data type like "smallint", "int", "date", "datetime", "smalldatetime". What's their corresponding Type in java.sql.Type ?
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

[My Blog]
All roads lead to JavaRanch
subject: java sql TYPE
Similar Threads
store image using sql server
auto-increament in ms sql server2000
Retrive column of type 'image'
data type mapping between POJO class and database data type
type mapping ( image, longvarbinary)