Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:sql:connections:jdbc [2011/01/12 18:43]
els
— (current)
Line 1: Line 1:
-{{page>:​top_add&​nofooter&​noeditbtn}} 
  
- 
-====== Development:​ SQL ====== 
- 
-===== Connection Strings ===== 
- 
-[[dev:​sql:​connections:​home|Overview]] | [[dev:​sql:​connections:​odbc|Connections in ODBC]] | **[[dev:​sql:​connections:​jdbc|Connections in JDBC]]** 
- 
----- 
- 
- 
-==== Connections in JDBC ==== 
- 
-Connecting to an Omnidex Environment File in JDBC simply requires referencing the Omnidex connection string in the call to DriverManager.getConnection:​ 
- 
-  Connection conn =  
-    DriverManager.getConnection( "​jdbc:​omnidex:​[server1:​7555]C:​\\class\\simple.xml"​);​ 
- 
- 
-It is also possible to reference a File DSN in the call to DriverManager.getConnection. ​ File DSN's are typically used with ODBC applications,​ but can be useful for externalizing the connection string. ​ Consult the [[dev:​sql:​connections:​odbc:​filedsn|ODBC File DSN]] section for instructions to build a File DSN. 
- 
-  Connection conn =  
-    DriverManager.getConnection( "​jdbc:​omnidex:​simple.dsn"​);​ 
- 
- 
- 
-====  ==== 
- 
-**[[dev:​sql:​connections:​odbc|Prev]]** 
- 
-====== Additional Resources ====== 
- 
-See also:  
- 
-{{page>:​dev:​see_also&​nofooter&​noeditbtn}} 
- 
-{{page>:​bottom_add&​nofooter&​noeditbtn}} 
 
Back to top
dev/sql/connections/jdbc.1294857839.txt.gz ยท Last modified: 2012/10/26 14:52 (external edit)