Connection strings for UniVerse

UniOLEDB

Type OLE DB Provider
Usage Ardent.UniOLEDB
Manufacturer IBM

Standard

DATA SOURCE=myDataSource;LOCATION=myLocation;USER ID=myUsername;PASSWORD=myPassword;
 
 

UniObjects for .NET

Type .NET Framework Class Library
Usage IBMU2.UODOTNET.UniObjects.OpenSession
Manufacturer Rocket U2

Standard

There's no connection string for the UniSession class. Instead use the static OpenSession method of the UniObjects class.


UniSession us1 = UniObjects.OpenSession(“DENVER\\asmith”, ”username”, ”password”, “databaseAccount”, ”UVCS”);

The last parameter, UVCS, is what tells the object to connect to UniVerse (not UniData).

 
 

U2.Net

Type .NET Framework Class Library
Usage
Manufacturer IBM

Login profile format

Login=lpn;user=myUsername;password=myPassword;
 
 

Specifying location of the configuration database

Login=lpn;ConfigDBLocation=d:\folderWithConfigFolder;user=myUsername;
password=myPassword;
 
 

Server profile format

Server=spn;Account=apn;user=myUsername;password=myPassword;
 
 

IBM UniVerse ODBC Driver

Type ODBC Driver
Usage IBM UniVerse ODBC Driver
Manufacturer IBM

Standard

Driver={IBM UniVerse ODBC Driver};Server=servername;Database=/LOCATION/GEM.TRAIN.SQL;
Uid=yourUserName;Pwd=yourPassword;
 
 

.NET Framework Data Provider for ODBC

Type .NET Framework Wrapper Class Library
Usage System.Data.Odbc.OdbcConnection
Manufacturer Microsoft

Use an ODBC driver from .NET

Driver={any odbc driver's name};OdbcKey1=someValue;OdbcKey2=someValue;

See the respective ODBC driver's connection strings options. The .net OdbcConnection will just pass on the connection string to the specified ODBC driver. Read more here.

 
 

.NET Framework Data Provider for OLE DB

Type .NET Framework Wrapper Class Library
Usage System.Data.OleDb.OleDbConnection
Manufacturer Microsoft

Use an OLE DB provider from .NET

Provider=any oledb provider's name;OledbKey1=someValue;OledbKey2=someValue;

See the respective OLEDB provider's connection strings options. The .net OleDbConnection will just pass on the connection string to the specified OLEDB provider. Read more here.

 
 

Popular