Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
74 | minor | always | 03-01-05 00:00 | 05-11-05 00:00 | |
|
|||||
Reporter: | sam | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.13 | ||
|
|||||
Summary: | 0000074: 3.0.s050328 | ||||
Description: |
RSN-65 If a getter but no setter is defined in an EJB3 bean: @OneToMany ( targetEntity = "example.Contact", cascade = CascadeType.ALL ) @JoinColumn(name = "entry") public Set<Contact> getContacts() { return _contacts; } /** public void setContacts(Set<Contact> contacts) { _contacts = contacts; } */ The error message is obscure: [20:04:33.318] WEB-INF/web.xml:40: 'javax.ejb.OneToMany' is not a valid annotation for getContacts(). Only persistent property getters and fields may have property annotations. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|