Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

JDBC Connection

5 posts in General Discussion Last posting was on 2009-07-15 12:40:03.0Z
Gordon Holfelder Posted on 2009-07-11 02:53:45.0Z
From: "Gordon Holfelder" <gordonh@accufnd.com>
Newsgroups: ianywhere.public.general
Subject: JDBC Connection
Lines: 7
Organization: AccuFud
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a57feb9@forums-3-dub.sybase.com>
Date: 10 Jul 2009 19:53:45 -0700
X-Trace: forums-3-dub.sybase.com 1247280825 10.22.241.152 (10 Jul 2009 19:53:45 -0700)
X-Original-Trace: 10 Jul 2009 19:53:45 -0700, vip152.sybase.com
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7642
Article PK: 6033

Is it possible to pass dbf= in a connection url? I've looked every where in
the documentation and can't find an example. Using JConnect5.5 and ASA 9.0

Thanks,
Gordon


Breck Carter [TeamSybase] Posted on 2009-07-11 13:08:36.0Z
From: "Breck Carter [TeamSybase]" <NOSPAM__breck.carter@gmail.com>
Newsgroups: ianywhere.public.general
Subject: Re: JDBC Connection
Organization: RisingRoad Professional Services
Reply-To: NOSPAM__breck.carter@gmail.com
Message-ID: <5l3h555cjiao6bc5r9f95pa8tm3ofc3764@4ax.com>
References: <4a57feb9@forums-3-dub.sybase.com>
X-Newsreader: Forte Agent 2.0/32.640
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 11 Jul 2009 06:08:36 -0700
X-Trace: forums-3-dub.sybase.com 1247317716 10.22.241.152 (11 Jul 2009 06:08:36 -0700)
X-Original-Trace: 11 Jul 2009 06:08:36 -0700, vip152.sybase.com
Lines: 28
X-Authenticated-User: TeamSybase
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7643
Article PK: 6037

See "setRemotePassword" in this Help section...

ASA Programming Guide

JDBC Programming

Using the jConnect JDBC driver

Supplying a URL for the server

Specifying a database on a server


On 10 Jul 2009 19:53:45 -0700, "Gordon Holfelder"

<gordonh@accufnd.com> wrote:

>Is it possible to pass dbf= in a connection url? I've looked every where in
>the documentation and can't find an example. Using JConnect5.5 and ASA 9.0
>
>Thanks,
>Gordon
>

--
Breck Carter http://sqlanywhere.blogspot.com/

RisingRoad SQL Anywhere and MobiLink Professional Services
breck.carter@risingroad.com


Karim Khamis [Sybase iAnywhere] Posted on 2009-07-14 14:00:24.0Z
From: "Karim Khamis [Sybase iAnywhere]" <kkhamis@sybase.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: JDBC Connection
References: <4a57feb9@forums-3-dub.sybase.com> <5l3h555cjiao6bc5r9f95pa8tm3ofc3764@4ax.com>
In-Reply-To: <5l3h555cjiao6bc5r9f95pa8tm3ofc3764@4ax.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a5c8f78$3@forums-3-dub.sybase.com>
Date: 14 Jul 2009 07:00:24 -0700
X-Trace: forums-3-dub.sybase.com 1247580024 10.22.241.152 (14 Jul 2009 07:00:24 -0700)
X-Original-Trace: 14 Jul 2009 07:00:24 -0700, vip152.sybase.com
Lines: 38
X-Authenticated-User: techsupp
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7644
Article PK: 6034

Gordon,

Breck's response regarding the Remote Password is correct for jConnect;
but, I am wondering, is there a specific reason why you are using
jConnect to connect to ASA? If you could switch to the iAnywhere JDBC
driver, then you would be able to specify all of the standard ASA
connection parameters in the URL.

Karim

Breck Carter [TeamSybase] wrote:
> See "setRemotePassword" in this Help section...
>
> ASA Programming Guide
>
> JDBC Programming
>
> Using the jConnect JDBC driver
>
> Supplying a URL for the server
>
> Specifying a database on a server
>
>
> On 10 Jul 2009 19:53:45 -0700, "Gordon Holfelder"
> <gordonh@accufnd.com> wrote:
>
>> Is it possible to pass dbf= in a connection url? I've looked every where in
>> the documentation and can't find an example. Using JConnect5.5 and ASA 9.0
>>
>> Thanks,
>> Gordon
>>
>
> --
> Breck Carter http://sqlanywhere.blogspot.com/
>
> RisingRoad SQL Anywhere and MobiLink Professional Services
> breck.carter@risingroad.com


Gordon Holfelder Posted on 2009-07-14 18:58:14.0Z
From: "Gordon Holfelder" <gordonh@accufnd.com>
Newsgroups: ianywhere.public.general
References: <4a57feb9@forums-3-dub.sybase.com> <5l3h555cjiao6bc5r9f95pa8tm3ofc3764@4ax.com> <4a5c8f78$3@forums-3-dub.sybase.com>
Subject: Re: JDBC Connection
Lines: 46
Organization: AccuFud
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a5cd546@forums-3-dub.sybase.com>
Date: 14 Jul 2009 11:58:14 -0700
X-Trace: forums-3-dub.sybase.com 1247597894 10.22.241.152 (14 Jul 2009 11:58:14 -0700)
X-Original-Trace: 14 Jul 2009 11:58:14 -0700, vip152.sybase.com
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7647
Article PK: 6044

Hi All!

Thanks for the responses. I saw the setRemotePassword, but it appears that
this is depricated. I'm just starting with Java and didn't want to start
with something that is going away.

W/Regard to the iAnywhere JDBC drivers. Where can I find these?

Thanks!
Gordon Holfelder

"Karim Khamis [Sybase iAnywhere]" <kkhamis@sybase.com> wrote in message
news:4a5c8f78$3@forums-3-dub.sybase.com...
> Gordon,
>
> Breck's response regarding the Remote Password is correct for jConnect;
> but, I am wondering, is there a specific reason why you are using jConnect
> to connect to ASA? If you could switch to the iAnywhere JDBC driver, then
> you would be able to specify all of the standard ASA connection parameters
> in the URL.
>
> Karim
> Breck Carter [TeamSybase] wrote:
>> See "setRemotePassword" in this Help section...
>>
>> ASA Programming Guide JDBC Programming Using the jConnect JDBC driver
>> Supplying a URL for the server Specifying a database on a server
>>
>>
>> On 10 Jul 2009 19:53:45 -0700, "Gordon Holfelder"
>> <gordonh@accufnd.com> wrote:
>>
>>> Is it possible to pass dbf= in a connection url? I've looked every where
>>> in the documentation and can't find an example. Using JConnect5.5 and
>>> ASA 9.0
>>>
>>> Thanks,
>>> Gordon
>>
>> --
>> Breck Carter http://sqlanywhere.blogspot.com/
>>
>> RisingRoad SQL Anywhere and MobiLink Professional Services
>> breck.carter@risingroad.com


Karim Khamis [Sybase iAnywhere] Posted on 2009-07-15 12:40:03.0Z
From: "Karim Khamis [Sybase iAnywhere]" <kkhamis@sybase.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: JDBC Connection
References: <4a57feb9@forums-3-dub.sybase.com> <5l3h555cjiao6bc5r9f95pa8tm3ofc3764@4ax.com> <4a5c8f78$3@forums-3-dub.sybase.com> <4a5cd546@forums-3-dub.sybase.com>
In-Reply-To: <4a5cd546@forums-3-dub.sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a5dce23$2@forums-3-dub.sybase.com>
Date: 15 Jul 2009 05:40:03 -0700
X-Trace: forums-3-dub.sybase.com 1247661603 10.22.241.152 (15 Jul 2009 05:40:03 -0700)
X-Original-Trace: 15 Jul 2009 05:40:03 -0700, vip152.sybase.com
Lines: 50
X-Authenticated-User: techsupp
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7648
Article PK: 6036

The iAnywhere JDBC driver ships with SQL Anywhere. The SA documentation
should help get you going with respect to the driver name (class) and URL.

Karim

Gordon Holfelder wrote:
> Hi All!
>
> Thanks for the responses. I saw the setRemotePassword, but it appears that
> this is depricated. I'm just starting with Java and didn't want to start
> with something that is going away.
>
> W/Regard to the iAnywhere JDBC drivers. Where can I find these?
>
> Thanks!
> Gordon Holfelder
>
> "Karim Khamis [Sybase iAnywhere]" <kkhamis@sybase.com> wrote in message
> news:4a5c8f78$3@forums-3-dub.sybase.com...
>> Gordon,
>>
>> Breck's response regarding the Remote Password is correct for jConnect;
>> but, I am wondering, is there a specific reason why you are using jConnect
>> to connect to ASA? If you could switch to the iAnywhere JDBC driver, then
>> you would be able to specify all of the standard ASA connection parameters
>> in the URL.
>>
>> Karim
>> Breck Carter [TeamSybase] wrote:
>>> See "setRemotePassword" in this Help section...
>>>
>>> ASA Programming Guide JDBC Programming Using the jConnect JDBC driver
>>> Supplying a URL for the server Specifying a database on a server
>>>
>>>
>>> On 10 Jul 2009 19:53:45 -0700, "Gordon Holfelder"
>>> <gordonh@accufnd.com> wrote:
>>>
>>>> Is it possible to pass dbf= in a connection url? I've looked every where
>>>> in the documentation and can't find an example. Using JConnect5.5 and
>>>> ASA 9.0
>>>>
>>>> Thanks,
>>>> Gordon
>>> --
>>> Breck Carter http://sqlanywhere.blogspot.com/
>>>
>>> RisingRoad SQL Anywhere and MobiLink Professional Services
>>> breck.carter@risingroad.com
>
>