查询在Resultset中工作但不在jasper报告中工作

时间:2015-02-14 08:30:09

标签: sqlite jdbc jasper-reports ireport

以下查询在我直接在数据库中执行时甚至在java项目结果集中都有效,但在Ireport中不起作用,我怀疑问题是计数和求和功能,因为当我删除它时工作正常..

Select ISBN,BookTitle,Author1,Author2,Author3,Category,Edition,Publisher,PublishingYear,Price,BookSelfName,Volume,Language,Subject, sum(case when status='Available' then 1 else 0 end) as Available, count(*) as Total
from Book
group by ISBN, BookTitle

错误是

Error:General Problem:null Check username and password;is the DBMS active?!

0 个答案:

没有答案