Dear team...
I've attached the relevant source tree. I've included the SQL to
create the target table. I'm using Informix but I don't think that
is relevant to the problem. Once you have deployed the Environment
bean you should be able to change to the etvl/retail/pm/utility
directory and run the test program by: make -f test.mk test
Thanks
Paul.
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Philippe Coq
>Sent: 28 December 1999 08:37
>To: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: Re: Possible problem changing an entity bean primary key
>
>
>Paul Mahoney wrote:
>>
>> Hi Team,
>>
>> I've had a very satisfying day getting a environment together for EBJ
>> application development using JOnAS. I've just a couple of issues yet to
>> resolve and wondered if you guys can point me in the right direction.
>>
>> Set-up
>>
>> I've started JOnAS with an simple entity bean Environment.
>> There are only two persistent fields, "name" and "value".
>> "name" is used by the primary key class EnvironmentPK and
>> is a primary key in the Informix table "environment".
>>
>> Problem
>> My little test program can successfully create and remove
>> row from the table using the Environment entity bean. It
>> can change the value using env.setValue("new value"); But
>> it cannot change the name using env.setName("new name").
>> I don't not get an error when I try, but the database is
>> not updated :-(
>>
>> This is a container managed entity bean.
>>
>Hi Paul,
>I think the best is that you send us the code of your CMP bean
>and of your deploiement descriptor because your description is
>not precise enough for us to help you
>Regards
>--
> Philippe
>
>Philippe Coq Groupe Bulll/BullSoft/OpenMaster Phone: (33)
04 76 29 78
>49
>Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
>[EMAIL PROTECTED] http://www-frec.bull.com
>Download our EJBServer at http://www.bullsoft.com/ejb
>----
>To unsubscribe, send email to [EMAIL PROTECTED] and
>include in the body of the message "unsubscribe jonas-users".
>For general help, send email to [EMAIL PROTECTED] and
>include in the body of the message "help".
jonas_tree.zip