Anonymous | Login | Signup for a new account | 12-17-2024 08:43 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 | ||||
0001454 | [Resin] | major | always | 11-10-06 04:28 | 11-30-06 15:30 | ||||
Reporter | KnisterPeter | View Status | public | ||||||
Assigned To | westrupp | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.0 | ||||||
Summary | 0001454: Persistence Inheritance | ||||||||
Description |
Inheritance in JPA does not work in Amber. I'll get compiler errors like stated below. IMHO this could be solved when only the attributes and methodes defined in the current class are handled and not all inherited attributes/methods, since they are already enhanced. |
||||||||
Additional Information |
[13:23:28.444] com.caucho.amber.AmberRuntimeException: com.caucho.java.JavaCompileException: /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:38: __caucho_super_get_contact() in de.nmmn.iscontrol.domain.denic.PersonHandle__ResinExt cannot override __caucho_super_get_contact() in de.nmmn.iscontrol.entity.Handle__ResinExt; overridden method is final [13:23:28.444] public final de.nmmn.iscontrol.entity.Contact __caucho_super_get_contact() [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:72: __caucho_super_set_contact(de.nmmn.iscontrol.entity.Contact) in de.nmmn.iscontrol.domain.denic.PersonHandle__ResinExt cannot override __caucho_super_set_contact(de.nmmn.iscontrol.entity.Contact) in de.nmmn.iscontrol.entity.Handle__ResinExt; overridden method is final [13:23:28.444] public final void __caucho_super_set_contact(de.nmmn.iscontrol.entity.Contact v) [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:112: __caucho_super_get_customer() in de.nmmn.iscontrol.domain.denic.PersonHandle__ResinExt cannot override __caucho_super_get_customer() in de.nmmn.iscontrol.entity.Handle__ResinExt; overridden method is final [13:23:28.444] public final de.nmmn.iscontrol.entity.Customer __caucho_super_get_customer() [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:146: __caucho_super_set_customer(de.nmmn.iscontrol.entity.Customer) in de.nmmn.iscontrol.domain.denic.PersonHandle__ResinExt cannot override __caucho_super_set_customer(de.nmmn.iscontrol.entity.Customer) in de.nmmn.iscontrol.entity.Handle__ResinExt; overridden method is final [13:23:28.444] public final void __caucho_super_set_customer(de.nmmn.iscontrol.entity.Customer v) [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:186: __caucho_super_get_number() in de.nmmn.iscontrol.domain.denic.PersonHandle__ResinExt cannot override __caucho_super_get_number() in de.nmmn.iscontrol.entity.Handle__ResinExt; overridden method is final [13:23:28.444] public final java.lang.Long __caucho_super_get_number() [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:199: __caucho_super_set_number(java.lang.Long) in de.nmmn.iscontrol.domain.denic.PersonHandle__ResinExt cannot override __caucho_super_set_number(java.lang.Long) in de.nmmn.iscontrol.entity.Handle__ResinExt; overridden method is final [13:23:28.444] public final void __caucho_super_set_number(java.lang.Long v) [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:269: __caucho_contact has protected access in de.nmmn.iscontrol.entity.Handle__ResinExt [13:23:28.444] __caucho_contact = ((de.nmmn.iscontrol.entity.Handle__ResinExt) item).__caucho_contact; [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:271: __caucho_customer has protected access in de.nmmn.iscontrol.entity.Handle__ResinExt [13:23:28.444] __caucho_customer = ((de.nmmn.iscontrol.entity.Handle__ResinExt) item).__caucho_customer; [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:341: __caucho_contact has protected access in de.nmmn.iscontrol.entity.Handle__ResinExt [13:23:28.444] ((de.nmmn.iscontrol.entity.Handle__ResinExt) o).__caucho_contact = __caucho_contact; [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:343: __caucho_customer has protected access in de.nmmn.iscontrol.entity.Handle__ResinExt [13:23:28.444] ((de.nmmn.iscontrol.entity.Handle__ResinExt) o).__caucho_customer = __caucho_customer; [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:452: __caucho_contact has protected access in de.nmmn.iscontrol.entity.Handle__ResinExt [13:23:28.444] ((de.nmmn.iscontrol.entity.Handle__ResinExt) entity).__caucho_contact = __caucho_contact; [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:454: __caucho_customer has protected access in de.nmmn.iscontrol.entity.Handle__ResinExt [13:23:28.444] ((de.nmmn.iscontrol.entity.Handle__ResinExt) entity).__caucho_customer = __caucho_customer; [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:619: __caucho_contact has protected access in de.nmmn.iscontrol.entity.Handle__ResinExt [13:23:28.444] ((de.nmmn.iscontrol.entity.Handle__ResinExt) item).__caucho_contact = __caucho_contact; [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:621: __caucho_customer has protected access in de.nmmn.iscontrol.entity.Handle__ResinExt [13:23:28.444] ((de.nmmn.iscontrol.entity.Handle__ResinExt) item).__caucho_customer = __caucho_customer; [13:23:28.444] ^ [13:23:28.444] /home/markusw/apps/resin-3.1.s061026/deploy/_ear_iscontrol-server-app-1.0.0-SNAPSHOT/META-INF/work/pre-enhance/de/nmmn/iscontrol/domain/denic/PersonHandle__ResinExt.java:633: __caucho_contact has protected access in de.nmmn.iscontrol.entity.Handle__ResinExt [13:23:28.444] ((de.nmmn.iscontrol.entity.Handle__ResinExt) item).__caucho_contact = __caucho_contact; |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |