Including the configuration of sqlserver 2005 and MySQL databases:
<?XML Version="1.0"Encoding="UTF-8"?>
<Hibernate-Configuration Xmlns="URL: nhibernate-configuration-2.2">
<Session-factory>
nhib.pdf. driver. mysqldatadriver -->
property name = " connection. driver_class "> nhib.pdf. driver. sqlclientdriver property >
nhib.pdf. dialect. mysqldialect -->
<Property Name="Dialect">Nhib.pdf. dialect. mssql2005dialect</Property>
<! --<Property name = "connection. connection_string">
Database = mytest; Data Source = localhost; user id = root; Password = 12345678; allow zero datetime = true;
</Property>-->
<Property Name="Connection. connection_string">
<! --Database = adtdb; Data Source = 192.168.1.104; Port = 3305; user id = root; Password = 12345678; allow zero datetime = true;-->
Database = SLDB; Data Source = 192.168.1.61; user id = sa; Password = 12345678;
</Property>
property name = ' proxyfactory. factory_class '> nhib.pdf. bytecode. linfu. proxyfactoryfactory, nhib.pdf. bytecode. linfu property >
property name = " show_ SQL " > true property >
<Mapping Assembly="AVIC. Model"/>
</Session-factory>
</Hibernate-Configuration>