I have table like this create table mytable ( Sno number(3) , Sno1 number(3) , Sno2 number(3), fname varchar2(10) not null, lname varchar2(10)not null, primary key (sno,sno1,sno2)) which contains some data. CMP is created from this table. I have tested this bean through VAJ Test environment . 1. Invoked FindByPrimarykey() 2. then called setFname(), setLname() but these methods are not working.i.e. database is not getting updated. no exceptions. I am using VAJ3.5. pls help to solve this problem
posted 15 years ago
i got the solution . 1. set the transaction attribute as Read_Committed. 2.Override ejbCreate() , initialize not nulls columns. 3.set Readonly property for getXXX()( not for setxxx()) Thanks, Venkat.