Skip to content

Instantly share code, notes, and snippets.

View MarceloNascimento's full-sized avatar
🎯
Focusing

Marcelo Nascimento MarceloNascimento

🎯
Focusing
View GitHub Profile
@MarceloNascimento
MarceloNascimento / hibernate.cfg.xml
Created October 23, 2013 01:06
Como criar duas conexões no nhibernate ao mesmo tempo
<?xml version="1.0" encoding="utf-8"?>
<!--
This template was written to work with NHibernate.Test.
Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it
for your own use before compile tests in VisualStudio.
-->
<!-- This is the ByteFX.Data.dll provider for MySql -->
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
<session-factory>
<property name="connection.driver_class">NHibernate.Driver.MySqlDataDriver</property>