didoudao wrote:
Hye,
I'm a newbie and have a trouble with the following query :
List list = session.find("from Pelftvllotpn A where timestamp(A.ddlanpn,A.dhlanpn) in (select timestamp(X.ddlanpn,X.dhlanpn) from Pelftvllotpn X)");
The second select statement uses a timestamp dialect function which does not exist. The select clause has limited fucntions that can be applied here. This is a function that currently cannot be applied here. The where clause is fine as its passed directly through without hibernate (possibly) needing to manipulate it.