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.

ResultSets (plural!) in Javascript

4 posts in General Discussion (old) Last posting was on 2000-03-28 13:46:24.0Z
Beth Park Posted on 2000-03-27 16:11:25.0Z
Newsgroups: sybase.public.easerver
From: "Beth Park" <beth.park@westlbpanmure.com>
Organization: 195.50.81.67
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: ResultSets (plural!) in Javascript
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Mon, 27 Mar 2000 11:11:25 -0500
Lines: 14
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_OE3GacAm$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25643
Article PK: 155707

Hi,
Is it possible to process a ResultSets object in Javascript? We currently know
how to process a ResultSet (singular) by converting it using:

var jsrs = java.CallStaticMethod("com.sybase.CORBA.jdbc11.SQL","getResultSet",
MyQueryObj );


I've taken a look at ~/system/utils/javaqry.ssc but that just does what we are
doing above. So, is it possible to get at each ResultSet in a ResultSets object
in Javascript?

Thanks,
Beth

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Carson Hager[Team Sybase] Posted on 2000-03-27 17:58:14.0Z
Newsgroups: sybase.public.easerver
From: chager@dyn-data.com (Carson Hager[Team Sybase])
Subject: Re: ResultSets (plural!) in Javascript
Date: Mon, 27 Mar 2000 17:58:14 GMT
Organization: Dynamic Data Solutions, Inc.
X-Newsreader: Forte Free Agent 1.21/32.243
Lines: 38
NNTP-Posting-Host: charon.lifescape.com 63.86.26.130
Message-ID: <347_38dfa120.64639356@forums.sybase.com>
References: <347_OE3GacAm$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25632
Article PK: 155696

You will need to use Dave's JavaWrappers.ssc bundle to do this easily.


Carson

___________________________________________________________

Carson Hager
Team Sybase
Dynamic Data Solutions, Inc.
Enterprise Application Studio 3.0 Consulting and Training
http://www.dyn-data.com

DDS is now hiring EAServer consultants
to support its exploding EAServer business!
Please submit your resume to
hr@dyn-data.com!


On Mon, 27 Mar 2000 11:11:25 -0500, "Beth Park"

<beth.park@westlbpanmure.com> wrote:

>Hi,
>Is it possible to process a ResultSets object in Javascript? We currently know
>how to process a ResultSet (singular) by converting it using:
>
>var jsrs = java.CallStaticMethod("com.sybase.CORBA.jdbc11.SQL","getResultSet",
>MyQueryObj );
>
>
>I've taken a look at ~/system/utils/javaqry.ssc but that just does what we are
>doing above. So, is it possible to get at each ResultSet in a ResultSets object
>in Javascript?
>
>Thanks,
>Beth
>
>---== Posted via the PFCGuide Web Newsreader ==---
>http://www.pfcguide.com/_newsgroups/group_list.asp

___________________________________________________________

Carson Hager
Team Sybase
Dynamic Data Solutions, Inc.
Enterprise Application Studio 3.0 Consulting and Training

DDS Enterprise Application Framework
Available Now as Open Source!
http://www.dyn-data.com


Dave Wolf [Sybase] Posted on 2000-03-27 17:32:22.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: ResultSets (plural!) in Javascript
Date: Mon, 27 Mar 2000 12:32:22 -0500
Lines: 345
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: nomad6-31.sybase.com 157.133.176.31
Message-ID: <347_X$mqWMBm$GA.52@forums.sybase.com>
References: <347_OE3GacAm$GA.298@forums.sybase.com> <347_38dfa120.64639356@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25618
Article PK: 155685

Find them attached.

import JavaWrappers.ssc;
import /system/utils/javaqry.ssc;

comp = java.CreateComponent("Foo/Bar");
trs = comp.getDataAsTRSArray();
array = new JavaArrayHelper(trs);
query = new JavaQuery(array[0]);

Dave Wolf
Internet Applications Division

"Carson Hager[Team Sybase]" <chager@dyn-data.com> wrote in message
news:38dfa120.64639356@forums.sybase.com...
> You will need to use Dave's JavaWrappers.ssc bundle to do this easily.
>
>
> Carson
>
> ___________________________________________________________
>
> Carson Hager
> Team Sybase
> Dynamic Data Solutions, Inc.
> Enterprise Application Studio 3.0 Consulting and Training
> http://www.dyn-data.com
>
> DDS is now hiring EAServer consultants
> to support its exploding EAServer business!
> Please submit your resume to
> hr@dyn-data.com!
>
>
> On Mon, 27 Mar 2000 11:11:25 -0500, "Beth Park"
> <beth.park@westlbpanmure.com> wrote:
>
> >Hi,
> >Is it possible to process a ResultSets object in Javascript? We
currently know
> >how to process a ResultSet (singular) by converting it using:
> >
> >var jsrs =
java.CallStaticMethod("com.sybase.CORBA.jdbc11.SQL","getResultSet",
> >MyQueryObj );
> >
> >
> >I've taken a look at ~/system/utils/javaqry.ssc but that just does what
we are
> >doing above. So, is it possible to get at each ResultSet in a ResultSets
object
> >in Javascript?
> >
> >Thanks,
> >Beth
> >
> >---== Posted via the PFCGuide Web Newsreader ==---
> >http://www.pfcguide.com/_newsgroups/group_list.asp
>
>
> ___________________________________________________________
>
> Carson Hager
> Team Sybase
> Dynamic Data Solutions, Inc.
> Enterprise Application Studio 3.0 Consulting and Training
>
> DDS Enterprise Application Framework
> Available Now as Open Source!
> http://www.dyn-data.com
>


Beth Park Posted on 2000-03-28 13:46:24.0Z
Newsgroups: sybase.public.easerver
From: "Beth Park" <beth.park@westlbpanmure.com>
Organization: 195.50.81.67
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: Re: ResultSets (plural!) in Javascript
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Tue, 28 Mar 2000 08:46:24 -0500
Lines: 62
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_tgFSCwLm$GA.201@forums.sybase.com>
References: <347_OE3GacAm$GA.298@forums.sybase.com> <347_38dfa120.64639356@forums.sybase.com> <347_X$mqWMBm$GA.52@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25504
Article PK: 155588

Dave,
Can you email the file to me directly as I only have access to the newsgroups
via a web browser and the pfc guide web site.
Thanks,
Beth
beth.park@westlbpanmure.com

On Mon, 27 Mar 2000 12:32:22 -0500,
in powersoft.public.easerver

Dave Wolf [Sybase] <dwolf@sybase.com> wrote:
>Find them attached.
>
>import JavaWrappers.ssc;
>import /system/utils/javaqry.ssc;
>
>comp = java.CreateComponent("Foo/Bar");
>trs = comp.getDataAsTRSArray();
>array = new JavaArrayHelper(trs);
>query = new JavaQuery(array[0]);
>
>Dave Wolf
>Internet Applications Division
>
>
>"Carson Hager[Team Sybase]" <chager@dyn-data.com> wrote in message
>news:38dfa120.64639356@forums.sybase.com...
>> You will need to use Dave's JavaWrappers.ssc bundle to do this easily.
>>
>>
>> Carson
>>
>> ___________________________________________________________
>>
>> Carson Hager
>> Team Sybase
>> Dynamic Data Solutions, Inc.
>> Enterprise Application Studio 3.0 Consulting and Training
>> http://www.dyn-data.com
>>
>> DDS is now hiring EAServer consultants
>> to support its exploding EAServer business!
>> Please submit your resume to
>> hr@dyn-data.com!
>>
>>
>> On Mon, 27 Mar 2000 11:11:25 -0500, "Beth Park"
>> <beth.park@westlbpanmure.com> wrote:
>>
>> >Hi,
>> >Is it possible to process a ResultSets object in Javascript? We
>currently know
>> >how to process a ResultSet (singular) by converting it using:
>> >
>> >var jsrs =
>java.CallStaticMethod("com.sybase.CORBA.jdbc11.SQL","getResultSet",
>> >MyQueryObj );
>> >
>> >
>> >I've taken a look at ~/system/utils/javaqry.ssc but that just does what
>we are
>> >doing above. So, is it possible to get at each ResultSet in a ResultSets
>object
>> >in Javascript?
>> >
>> >Thanks,
>> >Beth
>> >
>> >---== Posted via the PFCGuide Web Newsreader ==---
>> >http://www.pfcguide.com/_newsgroups/group_list.asp
>>
>>
>> ___________________________________________________________
>>
>> Carson Hager
>> Team Sybase
>> Dynamic Data Solutions, Inc.
>> Enterprise Application Studio 3.0 Consulting and Training
>>
>> DDS Enterprise Application Framework
>> Available Now as Open Source!
>> http://www.dyn-data.com
>>
>
>

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp