| Author |
Container-manager persistent fields, shouldn't be declared in the entity bean class?
|
alzamabar
Ranch Hand
Joined: Jul 24, 2002
Posts: 379
|
|
Hi, I'm studying that the persiste fields should be declared in the entity bean, via abstract getters and setters methods. I've got the following question: 'Container-managed persistent fields must be defined in the entity bean class' I replied 'true', but the answer from the book was false. Any idea?
|
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
|
 |
Will Hunt
Greenhorn
Joined: Jul 18, 2004
Posts: 14
|
posted

0
|
Like you said, you don't declare them in your CMP Entity Bean class , they are there because of abstract getters and setters. You don't define the fields, you just declare the abstract getters and setters for them.
|
 |
 |
|
|
subject: Container-manager persistent fields, shouldn't be declared in the entity bean class?
|
|
|