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.

about datastore for java's problem.

2 posts in General Discussion Last posting was on 2006-11-29 05:39:26.0Z
qhc_cn Posted on 2006-11-28 01:44:46.0Z
Sender: d84.456b9d02.1804289383@sybase.com
From: qhc_cn@sohu.com
Newsgroups: sybase.public.workspace.general
Subject: about datastore for java's problem.
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <456ba29e.dc7.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 27 Nov 2006 18:44:46 -0700
X-Trace: forums-1-dub 1164681886 10.22.241.41 (27 Nov 2006 18:44:46 -0700)
X-Original-Trace: 27 Nov 2006 18:44:46 -0700, 10.22.241.41
Lines: 6
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.workspace.general:238
Article PK: 1087896

Where is the datastore for java's Programmer's Guide?
In sybase workspace1.6,the datastore not have
setSourceFileName function?why?
The jar file is jdatastore.jar.

Thanks.


"Alexander Pire" <Alexander_no_spam_ Posted on 2006-11-29 05:39:26.0Z
From: "Alexander Pire" <Alexander_no_spam_@powerobjects_dot_com>
Newsgroups: sybase.public.workspace.general
References: <456ba29e.dc7.1681692777@sybase.com>
Subject: Re: about datastore for java's problem.
Lines: 39
Organization: PowerObjects
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: wsip-68-227-90-197.om.om.cox.net
X-Original-NNTP-Posting-Host: wsip-68-227-90-197.om.om.cox.net
Message-ID: <456d2b1e@forums-1-dub>
Date: 28 Nov 2006 22:39:26 -0700
X-Trace: forums-1-dub 1164782366 68.227.90.197 (28 Nov 2006 22:39:26 -0700)
X-Original-Trace: 28 Nov 2006 22:39:26 -0700, wsip-68-227-90-197.om.om.cox.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.workspace.general:241
Article PK: 1087915

That function was used in PowerJ classes, workspace is different is a
completely new package of libraries using the PBVM and keeping many
functions very similar as there it is in PB.

so instead of using something like this
powersoft.datawindow.DataStore ds_1;
ds_1 = new powersoft.datawindow.DataStore( );
ds_1.setSourceFileName("dwlibs/mydws.pdb");
ds_1.setDataWindowObject("d_cust_list");

You will use something like this
com.sybase.datastore.Datastore ds = new
com.sybase.datastore.Datastore("C:\\data\\pbl\\folder\\folder.pbl","d_sharedfolder_menu");
ds.setTransactionObject(transaction);

If you are using eclipse or WorkSpace you will find a very good help in the
same eclipse.

Best Regards

--

Alexander Pire
PowerObjects
www.powerobjects.com
612.339.3355
**IT Solutions - Outside the Box**

<qhc_cn@sohu.com> wrote in message
news:456ba29e.dc7.1681692777@sybase.com...
> Where is the datastore for java's Programmer's Guide?
> In sybase workspace1.6,the datastore not have
> setSourceFileName function?why?
> The jar file is jdatastore.jar.
>
> Thanks.