These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Could not create Driver error
PostPosted: Thu Jan 18, 2007 3:07 pm 
Newbie

Joined: Thu Jan 18, 2007 3:01 pm
Posts: 1
I have been getting this error when I try to load the configuration for SQLite:

Could not create the driver from NHibernate.Driver.SQLiteDriver.

Could someone tell me what I need to do to load the SQLite driver? This is my copy of hibernate.cfg.xml:

<?xml version="1.0" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.0" >
<session-factory>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="dialect">NHibernate.Dialect.SQLiteDialect</property>
<property name="connection.driver_class">NHibernate.Driver.SQLiteDriver</property>
<property name="connection.connection_string">Data Source=nhibernate.db;Version=3</property>
</session-factory>
</hibernate-configuration>

Do I need to add a linking reference to a special dll or something to get the hibernate drive for SQLite to work?


Top
 Profile  
 
 Post subject: Could not create the driver from NHibernate.Driver.SQLiteDri
PostPosted: Thu Jan 25, 2007 7:52 am 
Newbie

Joined: Thu Apr 13, 2006 5:36 am
Posts: 2
Make sure the sqlite driver dll is in the application executable directory.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.