Pervasive does support parameters in queries but the syntax is different. For example:
SELECT * FROM CLASS WHERE ID = ?
It seems that NHibernate is generating a query that isn't supported by PSQL. You'll probably need to create your own dialect for NHibernate. A quick search shows that PSQL isn't supported natively.
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.