Hello,
I've been looking all over the manual, FAQ and forum, but I can't find an answer to this problem:
I have a class Subscription with (amonst others) a property number. I try to find a subscription with this query: "from Subscription as subs where subs.number = ?". In the log I get a "unexpected query compilation problem". Using session.find() or using a Query doesn't make a difference. I already succeeded in doing a saveOrUpdate(), so the basics are working.
I'm a bit stumped where to look further. Can anybody offer suggestions on where to look for the problem?
Thanks,
Serge.
|