| Author |
@Embedded annotation for properties.
|
Kenneth Lomvey
Ranch Hand
Joined: Nov 08, 2008
Posts: 94
|
|
When we used the @Embedded annotation for property accessor methods in an entity, should we use it to both getter method or setter method? Or, is it enough to annotate only the getter method?
|
 |
Tomaszz Lewandowski
Ranch Hand
Joined: Sep 07, 2007
Posts: 30
|
|
|
You MUST annotatate getter accesor only.
|
Regards<br />Tomasz Lewandowski<br />SCJP5 (97%) | SCWCD5 (98%)
|
 |
Kenneth Lomvey
Ranch Hand
Joined: Nov 08, 2008
Posts: 94
|
|
Thanks Tomaszz.
|
 |
 |
|
|
subject: @Embedded annotation for properties.
|
|
|