Hello guys!
I did some tests with hibernate on linux with postgresql and it worked fine. Now I'm using windows with firebird but after this piece of code:
Code:
Configuration config = new Configuration();
an exception is thrown.
I have the firebird provider dll added as a reference and have it on my executable program dir.
Could somebody help me? I'd be very pleased.
On purpose, this is my app.config:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section
name="nhibernate"
type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.3300.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
<nhibernate>
<add
key="hibernate.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider"
/>
<add
key="hibernate.dialect"
value="NHibernate.Dialect.FirebirdDialect"
/>
<add
key="hibernate.connection.driver_class"
value="NHibernate.Driver.FirebirdDriver"
/>
<add
key="hibernate.connection.connection_string"
value="User=SYSDBA;password=masterkey;Database=C:\Temp\advoc-oo.fdb;Data Source=localhost;Port=3050;Dialect=3;Charset=ISO8859_1;Role=;Connection lifetime=15;Connection timeout=15;Pooling=True;Packet Size=8192;ServerType=0"
/>
</nhibernate>
</configuration>
Thank you so much, any help will be appreciated.[/code]