SQLite Connection Pooling
How do you set connection pooling to true using SQLiteConfiguration?
2 people watching.
-
New Issue
-
Conversation Started
The Fluent NHibernate staff has started a conversation to resolve this discussion.
-
Resolve the discussion Resolve the discussion
Private Permissions
This discussion is private. Only you and Fluent NHibernate support staff can see and reply to it.
Recent Discussions
20 Sep, 2010 09:58 AM | Saving a many to many with extra information | |
19 Sep, 2010 01:55 AM | Setting the sessionfactory name using fnh | |
17 Sep, 2010 10:34 AM | SQLite Connection Pooling | |
16 Sep, 2010 08:56 PM | How to map collection of enum list<enum> | |
16 Sep, 2010 10:01 AM | Interceptor for proxy class |
15 Sep, 2010 05:22 PM | Can I write an Eager Load Attribute? | |
15 Sep, 2010 05:18 PM | fluent nhibernate-1.1 stored procedure question | |
15 Sep, 2010 05:10 PM | Automapping - eager loading some classes | |
15 Sep, 2010 05:10 PM | <property name="adonet.batch_size">100</property> | |
15 Sep, 2010 04:50 PM | Best Practices for Winforms Session |
Support Staff 2 Posted by James Gregory on 15 Sep, 2010 05:56 PM
How would you do it normally?
On Wed, Sep 15, 2010 at 6:17 PM, Periop IT <
tender+d5aebe5561f41e2a1d602fece5ceb553ba08138e3@tenderapp.com<tender%2Bd5aebe5561f41e2a1d602fece5ceb553ba08138e3@tenderapp.com>
> wrote:
3 Posted by Periop IT on 15 Sep, 2010 06:18 PM
If I was doing it with a connection string in ado.net it would be something like:
"data source=C:\temp\mydb.sqlite;Pooling=True"
Support Staff 4 Posted by James Gregory on 15 Sep, 2010 07:29 PM
So what's stopping you from doing that now? How are you supplying the
connection string right now?
On Wed, Sep 15, 2010 at 7:20 PM, Periop IT <
tender+d5aebe5561f41e2a1d602fece5ceb553ba08138e3@tenderapp.com<tender%2Bd5aebe5561f41e2a1d602fece5ceb553ba08138e3@tenderapp.com>
> wrote:
5 Posted by Periop IT on 17 Sep, 2010 10:34 AM
I tried your suggestion and it just seems a bit odd because you have to specify the file name in the connection string and with WithFile method. Since I am using SQLite I did not originally have to supply a connection string using the WithFile method was sufficient. However, ths does solve the problem and I know in the future to use this techinque for other conection properties. Thanks...