简体   繁体   中英

code not working after upgrading to jdeveloper 11g

i migrated my struts project from jdeveloper 10.3.4 to 11g. A simple java code that was working fine has stopped working.

return (List<HardwareType>)dao.selectAll();

the selectAll() method returns List<CommonDomain> which I am typecasting as above. And-- public class HardwareType extends CommonDomain{

all this was working fine in jDeveloper 10g. Even if jdeveloper 11g uses java 7 , i don't think java 7 can break this code.

When you say it is not working, do you mean that it is not compiling or that it is not running properly? What is the error that you are getting? If it is a compile error - check which libraries are associated with your project under project properties.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM