This is an old revision of the document!
Although 5.2 has not yet been released, there are a few items that are known changes from 5.1 to 5.2 that are worth knowing during 5.2 development.
The following is a list of items these known changes between Omnidex 5.1 and 5.2.
In 5.1, a PHP connection string with Username and Password would be as follows:
$conn = odbc_connect("DRIVER={DISC OMNIDEX OdxNet Driver};
ENV=[localhost:7555]c:\\xavit\\xavit_mysql.xml","xavit_user","xavit_pass");
In 5.2, a PHP connection string to do the same thing would be as follows:
$conn = odbc_connect(‘{DRIVER=Omnidex};ConnectionString=
[localhost:7555]c:\\xavit\\xavit_mysql.xml;uid=xavit_user;pwd=xavit_pass’,’’,’’);
The C STRING data type has been renamed to STRING in 5.2. C STRING is still supported as a synonym and will continue to work in the legacy Environment Catalogs as well as in the new Omnidex Data Definition Language (DDL) syntax. However, it may be removed in future versions so all new Omnidex Environments should use the STRING syntax when referring to Character columns that can be NULL terminated for faster internal Omnidex processing.
As part of DISC's continuing efforts to simplify the Omnidex product, the licensing functionality in the sysinfo and regmaint programs has been moved to the OdxSQL program.
The Omnidex ODBC driver has been renamed as of the 5.2 release which can impact existing Microsoft Machine DataSources which are referred to as System and User data sources in the Data Sources Administrator.
The existing name is Omnidex ODBC Driver for OdxNet.
The new name is Omnidex.
DISC provides a program called odbcreg that can register the Omnidex ODBC driver under the supported Windows Operating Systems.
As of 5.2, this program has the option to register the old name as well as the new ODBC Driver name so that each datasource does not have to be converted.
DISC is developing a Windows based front end to administer Omnidex in a multi-server environment. However, due to other customer driven priorities, the Omnidex Administrator is not available in either 5.0.
OdxAdmin will incorporate the NsAdmin and DsEdit functionality once it is released.
DsEdit is no longer supported as of Omnidex version 5.0.
DsEdit had the following features:
| Current Feature | Replacement |
|---|---|
| Create ODBC File data sources | copy from documentation and edit with editor |
| Create ODBC System and User data sources | use Control Panel, Data Source Adminstrator |
| Create JDBC data sources | use connection strings and test with OdxSql -JDBC option |
| Test connections | use OdxSQL with -odbc and -jdbc option to test connections |
| Perform simple test queries | use OdxSql with -odbc and -jdbc option to test queries |
PATH CLASSPATH OMNIDEX_HOME
cmd> odbcreg -i “program files\omnidex 5.1\bin”
cmd> odbcreg -i “program files\omnidex 4.4\bin”