Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000301 [Resin] minor always 07-10-05 00:00 02-05-06 11:03
Reporter francoisb View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0000301: Persistence 3.0: inheritance with cmr
Description RSN-340
Hi:

When using inheritance together with cmr (container managed relationship), the child's class generated code doesn't compile.

com.caucho.loader.enhancer.EnhancerRuntimeException: java.lang.ClassNotFoundException:
/home/francois/webapps/resin/rsn_inhe_cmr/WEB-INF/work/pre-enhance/example/Prefect__ResinExt.java:38:
__caucho__house has private access in example.Student__ResinExt
    ((example.Student__ResinExt) o).__caucho__house = __caucho__house;
    ^
/home/francois/webapps/resin/rsn_inhe_cmr/WEB-INF/work/pre-enhance/example/Prefect__ResinExt.java:38:
__caucho__house has private access in example.Student__ResinExt
    ((example.Student__ResinExt) o).__caucho__house = __caucho__house;
                                                      ^
/home/francois/webapps/resin/rsn_inhe_cmr/WEB-INF/work/pre-enhance/example/Prefect__ResinExt.java:76:
__caucho__house has private access in example.Student__ResinExt
    if (__caucho__house != null) {
        ^
/home/francois/webapps/resin/rsn_inhe_cmr/WEB-INF/work/pre-enhance/example/Prefect__ResinExt.java:77:
__caucho__house has private access in example.Student__ResinExt
      pstmt.setLong(index++, ((Number) __caucho__house).longValue());
                                       ^

....

The attached file is based on the resin's tutorials (Student, Prefect and House).

Francois

Additional Information resin 3.0.14, Sun jdk 1.5.0_02, linux 2.4.21
Attached Files

- Relationships

- Notes
(0000865)
ferg
02-05-06 11:03

ejb/0l40
 

- Issue History
Date Modified Username Field Change
07-10-05 00:00 francoisb New Issue
02-05-06 11:03 ferg Note Added: 0000865
02-05-06 11:03 ferg Assigned To  => ferg
02-05-06 11:03 ferg Status acknowledged => closed
02-05-06 11:03 ferg Resolution open => fixed
02-05-06 11:03 ferg Fixed in Version  => 3.0.18
02-05-06 11:03 ferg Description Updated


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker