зеркало из https://github.com/mono/mail-archives.git
93 строки
2.8 KiB
HTML
93 строки
2.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [mono-android] Database Connection Pool
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Database%20Connection%20Pool&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="008068.html">
|
|
<LINK REL="Next" HREF="007862.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[mono-android] Database Connection Pool</H1>
|
|
<B>Venky</B>
|
|
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Database%20Connection%20Pool&In-Reply-To="
|
|
TITLE="[mono-android] Database Connection Pool">venky at edurite.com
|
|
</A><BR>
|
|
<I>Thu Dec 15 01:35:24 EST 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="008068.html">[mono-android] Bluetooth Chat sample
|
|
</A></li>
|
|
<LI>Next message: <A HREF="007862.html">[mono-android] Stacktrace-less crash in 4.0.1 (I think)
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#7868">[ date ]</a>
|
|
<a href="thread.html#7868">[ thread ]</a>
|
|
<a href="subject.html#7868">[ subject ]</a>
|
|
<a href="author.html#7868">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Is there support for database connection pooling in monodroid?
|
|
|
|
Can I have a connection string like this?
|
|
Data Source=filename;Version=3;Pooling=true;Max Pool Size=10;
|
|
|
|
In the activity, on new intents, we are trying to connect to DB, do the dml
|
|
and close the connection and then dispose the connection object.
|
|
|
|
Is this the right way or do we need to keep a single connection that is
|
|
closed when the app is disposed?
|
|
|
|
Any help is appreciated.
|
|
|
|
--
|
|
View this message in context: <A HREF="http://mono-for-android.1047100.n5.nabble.com/Database-Connection-Pool-tp5076643p5076643.html">http://mono-for-android.1047100.n5.nabble.com/Database-Connection-Pool-tp5076643p5076643.html</A>
|
|
Sent from the Mono for Android mailing list archive at Nabble.com.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="008068.html">[mono-android] Bluetooth Chat sample
|
|
</A></li>
|
|
<LI>Next message: <A HREF="007862.html">[mono-android] Stacktrace-less crash in 4.0.1 (I think)
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#7868">[ date ]</a>
|
|
<a href="thread.html#7868">[ thread ]</a>
|
|
<a href="subject.html#7868">[ subject ]</a>
|
|
<a href="author.html#7868">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
|
|
mailing list</a><br>
|
|
</body></html>
|