[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update Failed without Integer type??
From: Falko Braeutigam <firstname.lastname@example.org>
Sent: April 27, 2000 1:12:23 PM GMT
Subject: Re: Update Failed without Integer type??
On Thu, 27 Apr 2000, Kenny Go wrote:
> I have been testing the samples/simple. Found out that if the
> f/w methods were removed. Ozone is not able to update the
> whole object except the object name.
I don't follow, sorry. What do you mean by "not able to update the
whole object"? What happens? Can you explain a bit more.
In samples/simple, it creates an object name like
"auto" with name as "Ford" and age as "3".
I can print the value by running the "Local" using
"java Local print".
However, if I remove setAge method from Auto & AutoImpl
classes (ie. Left only setName method). Re-create
AutoImpl_proxy using "java org.ozoneDB.tools.OPP.OPP".
And I print the value by running the "Local" again.
I can't get any value printed not event the name "Ford".
If I did not able to explain clearly to you, you can
test it out by removing setAge method from Auto & AutoImpl.
Re-compile them And run "java Local create" and then "java Local print". You
will not get any value return!!
> public void setAge (Integer newAge) throws Exception;
> public int setAge (int newAge) throws Exception;
> public Integer age() throws Exception;
> Does anybody knows why??
> Kenny Go
> P.S. Tested under JDK1.2.2 Windows platform.
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup
Falko Braeutigam mailto:email@example.com
softwarebuero m&b (SMB) http://www.softwarebuero.de
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup