[unixODBC-dev] odbc.ini configuration
Nick Gorham
nick at lurcher.org
Fri Oct 17 10:22:53 BST 2008
Marco Vieira wrote:
>Yes.
>
>[ODBC][4511][SQLConnect.c][3576]
> Entry:
> Connection = 0x8050380
> Server Name = [DEMOBRIDGE][length = 12 (SQL_NTS)]
> User Name = [NULL]
> Authentication = [NULL]
> ENV ATTR
>[SQL_ATTR_UNIXODBC_ENVATTR=CLASSPATH=/path_to_jarFile.jar] ret = -1
>
>
Just tried exactly what you have and it seems to work fine,
All I can suggest is try 2.2.13pre, as there may be a change I have
forgotton in there, and if that still fails, then edit
DriverManager/__attribute.c abd add some debug in __set_local_attribute
after the putenv to displat errno and see just why its failing.
--
Nick
More information about the unixODBC-dev
mailing list