The moose likes JDBC and the fly likes SQL Data Types 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 "SQL Data Types" Watch "SQL Data Types" New topic

SQL Data Types

Abed Rabie
Ranch Hand

Joined: Jun 24, 2003
Posts: 74
Dear all,

How r u all?

In the pacjage java.sql. There is a class called Types which through it you can check the type of the datatype for certain cloumn in the ResultSet.

But i don't find those datatpyes(nchar,ntext,nvarchar).

So please advice which datatypes i can use instead.

Best regards


Abed Rabie
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

I would guess: String, String and - hmmm... difficult. String?

I agree. Here's the link: http://aspose.com/file-tools
subject: SQL Data Types
Similar Threads
Do not use primitive types in JPA for mapping
Dynamic Struts?
Data Mapping Framework(urgent)
Best solution for intranet. Alfresco? Liferay.
DataInput and DataOutput Interfaces