tian shan - 2004-02-01

If I have a Hibernate query like this
from Account as account where account.id = :id,

How can I pass in the id in the query view? I tried things like "from Accoount account where account.userId = 'user1'" but no success.

Thanks a lot.