| Anonymous | Login | Signup for a new account | 12-07-2025 12:58 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000074 | [Resin] | minor | always | 03-31-05 00:00 | 05-11-05 00:00 | ||||
| Reporter | sam | View Status | public | ||||||
| Assigned To | |||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | |||||||
| 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. |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 03-31-05 00:00 | sam | New Issue | |
| 11-30-05 00:00 | administrator | Fixed in Version | => 3.0.13 |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 27 unique queries executed. |