BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

what is the meaning of column1.setSqlType(4);

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases
View previous topic :: View next topic  
Author Message
kei
Guest





PostPosted: Wed Mar 21, 2007 4:37 pm    Post subject: what is the meaning of column1.setSqlType(4); Reply with quote



I want to know what is the meaning of the number in the setSqlType? where
can I find the information? I know it is related to datatype, but I can't
find the exact meaning of 1 = ?, 2 = ?....etc.

Thx!!
Back to top
John Moore (TeamB)
Guest





PostPosted: Sat Mar 24, 2007 11:36 pm    Post subject: Re: what is the meaning of column1.setSqlType(4); Reply with quote



kei wrote:
Quote:
I want to know what is the meaning of the number in the setSqlType? where
can I find the information? I know it is related to datatype, but I can't
find the exact meaning of 1 = ?, 2 = ?....etc.

Thx!!



These refer to java.sql.Types and you should never use the actual value..

DX Source comments..

/** Gets JDBC SqlType of the Column. Refer to java.sql.Types for more
information
* on the types.
*
* @return The JDBC SqlType of the Column.
*/
public final int getSqlType() { return sqlType; }



...you should always use it this way..

java.sql.Types.ARRAY

...this is because the actual integer value could change in future
versions of Java..

John..


--
=============================================
TeamB are volunteer helpers. Please DO NOT REPLY VIA EMAIL!
Post all questions and replies to this newsgroup ONLY
For papers on DataExpress, Applets, JSP, and Web Development go to:
http://www.microps.com/mps/paperFAQ.html
====================================================
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.