Hi
I would like to test (trial version) dotConnect for PostgreSQL in my WPF app with NHibernate. I've added dll to references -> Devart.Data.PostgreSql and added driver_class to hibernate_pg.cfg.xml:
<?xml version="1.0" encoding="utf-8"?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
<session-factory>
<property name="connection.driver_class">PostgresDriver.DbDriver.DevartPgDriver, Devart.Data.PostgreSql</property>
<property name="connection.connection_string_name">
[...]
</property>
<property name="show_sql">true</property>
<property name="dialect">NHibernate.Dialect.PostgreSQL82Dialect</property>
</session-factory>
</hibernate-configuration>
What else should i do to connect via nhibernate to postgresql using dotConnect for PostgreSQL - Error is:
"Could not create the driver from PostgresDriver.DbDriver.DevartPgDriver, Devart.Data.PostgreSql."
NHibernate dotConnect - configuration
Re: NHibernate dotConnect - configuration
Please refer to
viewtopic.php?f=3&t=28844
viewtopic.php?f=3&t=31453
http://blog.devart.com/nhibernate_and_oracle.html
Does this help?
viewtopic.php?f=3&t=28844
viewtopic.php?f=3&t=31453
http://blog.devart.com/nhibernate_and_oracle.html
Does this help?