HP3000-L Archives

January 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Richard Fisher <[log in to unmask]>
Reply To:
Richard Fisher <[log in to unmask]>
Date:
Tue, 26 Jan 1999 11:12:03 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (45 lines)
Hi All,

(Also posted to the [log in to unmask])

I've finally had the time to play with Java (still working  under the
learing curve but getting better). I have an applet running that retrieves
data and displays it nicely from a TurboImage database using  Java RMI.
The
db is on our 3000 and i'm accessing it from my unix workstation, it works
great.

I'm having trouble updating the dataset, i haven't been able to find any
examples of updating a turbimage dataset. Will it work thru Java RMI ?
or
am i doing something wrong ?  I'm doing a readChained to get the entry
(its
a detail with only 1 entry), i then modify the description field and do an
update on that entry.  On the client side it looks like it worked, but a
check of the dataset shows it hasn't been modified.  On the rmi server
side
the following message appears:

java.rmi.ServerRuntimeException: Server RuntimeException; nested exception
is:
        java.lang.ArrayIndexOutOfBoundsException

Is my understanding on how update should work wrong, if so how should it
work?  Is there any sample code out on the web i could lookat to see where
i'm going wrong?

Any help and suggestions will be greatly appreciated.

Rich

------------------------------------------------------
Richard Fisher
Carilion Health System
Roanoke, Virginia
e-mail: [log in to unmask]
phone: (540) 224-4269
----------------------------------
Illusions are painfully shattered,
Right where discovery starts.   -  RUSH
-------------------------------------------------------

ATOM RSS1 RSS2