tags:

views:

15

answers:

0

greetings all, i got this exception in the following method and i don't know why:

List<Date> temps = getCurrentSession()
                .createQuery(
                        "select distinct date(uploadDate) from FileDomain where projectId=:projectId"
                                + " and entityId not in(select fileId from FileVersion) order by date(uploadDate) desc ")
                .setLong("projectId", projectId).list();