Nh 3587

fix for https://nhibernate.jira.com/browse/NH-3587
firebird parameters that needs typecasting