[unixODBC-dev] odbc.ini configuration
Marco Vieira
vieira.marco at gmail.com
Fri Oct 17 08:43:13 BST 2008
The $ came from test that I've made. In fact I've tested with and without
the $, same result.
Any more ideas!?
2008/10/16 Nick Gorham <nick at lurcher.org>
> Marco Vieira wrote:
>
> Hi all,
>>
>> Could some one help me solving this problem.
>>
>> in my odbc.ini I'm trying to add the following parameter:
>>
>> *DMEnvAttr =
>> SQL_ATTR_UNIXODBC_ENVATTR={CLASSPATH=/path_for_jar/jarFile.jar}*
>>
>> When i use "*isql DEMOBRIDGE*" to test my driver on the trace file a get
>> this msg that says that is missing a class from the jarFile.jar.
>>
>> *[ODBC][3855][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_for_jar/jarFile.jar**] ret =
>> -1*
>>
>> Hi,
>
> the -1 indicates that it failed to set the value. So for example:
>
> DMEnvAttr =
> SQL_ATTR_UNIXODBC_ENVATTR={ORACLE_HOME=/home/nick/product/9.2.0/}
>
> Shows in the log file
>
> ENV ATTR
> [SQL_ATTR_UNIXODBC_ENVATTR=ORACLE_HOME=/home/nick/product/9.2.0/] ret = 0
>
> I would check where the $ has come from
>
> --
> Nick
> _______________________________________________
> unixODBC-dev mailing list
> unixODBC-dev at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
>
--
Melhores Cumprimentos,
Marco António Vieira
PS:
Não mostre aos outros os endereços electrónicos dos teus amigos, apaga-os e
use "Bcc" ou "Cco" (cópia oculta), para os reenvios.
Dificulta a propagação de Vírus, Spams e Banners. É para o bem de todos nós.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20081017/f59ee562/attachment.html>
More information about the unixODBC-dev
mailing list