【发布时间】:2012-07-25 15:10:32
【问题描述】:
我有一个问题简直让我抓狂......
我正在运行 JDeveloper 11.1.2.1.0,我也在运行 Jasper Reports 4.5。我有一个包含几种方法的类。每个都运行一个用 iReport 制作的单独的 Jasper 报告。
我也在集成 WLS 中对此进行测试。
当用户单击一个按钮时,它会运行所述报告,如果只调用一个报告,效果会很好。只要我尝试调用 2 个或更多报告,第一个报告就会起作用,但所有其他报告都会抛出此错误:
java.sql.SQLSyntaxErrorException ORA-00904:“ID”:无效标识符
例子
public String button () thorws ClassNotFoundException, Exception
{
Reports runReport = new Reports ();
runReport.FirstReport;
runReport.SecondReport;
...
...
}
不知道在哪里跟踪此错误,因为 Reports 类中的每个方法仅在单独运行时运行良好。
【问题讨论】:
标签: sql jdeveloper