[postmodern-devel] A question about connection pooling, and the many ways to connect.

Jim Barrows jim.barrows at gmail.com
Sat Mar 16 01:32:16 UTC 2013


I'm a java developer, and I think I'm expecting something to happen that's
not.  In Java I setup a pooled connection, and just use it.  The
connections pool themselves.

I had thought that by doing:
(setf *database* (connect "PomBanDone" "pombandone" "pombandone"
"localhost" :pooled-p T)))
that I would get connection pooling.

However now that I'm getting a better understanding of Lisp and I think
Postmodern, that connections aren't getting pooled.  I think I have to use
(with-connection (spec &body body) in order to make the connection pooling
work.

Is that the case?  If not, why would I want to use with-connection?

Thanks!
-- 
James A Barrows
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/postmodern-devel/attachments/20130315/0799fb3a/attachment.html>


More information about the postmodern-devel mailing list