728x90

IBM Data Server Driver for JDBC and SQLJ type 4 connectivity URL syntax

Read syntax diagramSkip visual syntax diagram
>>-+-jdbc:db2:------+--//--server--+---------+--/--database----->
   +-jdbc:db2j:net:-+              '-:--port-'                
   '-jdbc:ids:------'                                         
>--+------------------------------+----------------------------><
   |    .-----------------------. |   
   |    V                       | |   
   '-:----property--=--value--;-+-'   

jdbc:ids:
Indicates that the connection is to an IBM Informix data source. jdbc:informix-sqli: also indicates that the connection is to an IBM Informix data source, but jdbc:ids: should be used.
1. jdbc 드라이버 인스톨
db2jcc.jar, db2jcc_license_cu.jar
2. jdbc 드라이버 클래스
com.ibm.db2.jcc.DB2Driver
3. String url
String url = "jdbc:ids://myhost:1533/stores_demo";

http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.apdv.java.doc/src/tpc/imjcc_c0024189.html

728x90

+ Recent posts