If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > ADO.NET ParameterMetaData

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-06-11, 08:57
hakan.aras hakan.aras is offline
Registered User
 
Join Date: Aug 2011
Posts: 3
ADO.NET ParameterMetaData

Hey!

in the JDBC-Library for DB2 there is a method called "getParameterMetaData" for statements which returns some information about the parameters of a preparedstatement (i am especially interested in the type of the parameter). my question would be whether or not there is an equivalent method in the ADO.NET Data Provider.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 08-06-11, 09:57
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
This question has nothing to do with DB2 per se. Did you try the ADO reference manual?
Reply With Quote
  #3 (permalink)  
Old 08-06-11, 10:13
hakan.aras hakan.aras is offline
Registered User
 
Join Date: Aug 2011
Posts: 3
the data provider for db2 databases differs from other ado.net data providers

I've looked into this reference:
IBM DB2 9.7 for Linux, UNIX and Windows Information Center

but i couldnt find any relevant information. i really need the metaData.
Reply With Quote
  #4 (permalink)  
Old 08-06-11, 15:15
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
If you need parameter metadata, I guess you should be looking at the Parameter or DB2Parameter class, not DB2Command.
Reply With Quote
  #5 (permalink)  
Old 08-08-11, 02:49
hakan.aras hakan.aras is offline
Registered User
 
Join Date: Aug 2011
Posts: 3
Already did

I already looked into all the relevant classes.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On