slick-examples
slick-examples copied to clipboard
Database connection pool example with c3p0
don't you guys want this? /cc @szeiger
Sorry, I must have missed this. Yes, we should use this (in fact, I'd like to add better support for connection pooling to the core, but an example would be a good starting point).
Feel free to pull it in then. I also wrote about slick connection pooling here:
http://fernandezpablo85.github.io/2013/04/07/slick_connection_pooling.html
Is this going in?
It would be great if you could publish this example as an Activator (http://typesafe.com/activator) template instead. We're trying to get rid of slick-examples for 2.1 and replace it by individual Activator templates (https://github.com/slick/slick/issues/603). So far we have only created the The "Hello Slick" template which is is an updated version of "FirstExample" from slick-examples. A template is basically a standalone sbt project with a documentation file that is displayed in Activator's sidebar. You can publish a template on your own and keep to your own schedule for updating it. If you tag it with "slick", users can find it easily in the Activator UI.
Ok, I know nothing about the activator templates but it's a good excuse to get used to them.
On Mon, Jan 27, 2014 at 12:10 PM, Stefan Zeiger [email protected]:
It would be great if you could publish this example as an Activator ( http://typesafe.com/activator) template instead. We're trying to get rid of slick-examples for 2.1 and replace it by individual Activator templates ( slick/slick#603 https://github.com/slick/slick/issues/603). So far we have only created the The "Hello Slick" template which is is an updated version of "FirstExample" from slick-examples. A template is basically a standalone sbt project with a documentation file that is displayed in Activator's sidebar. You can publish a template on your own and keep to your own schedule for updating it. If you tag it with "slick", users can find it easily in the Activator UI.
— Reply to this email directly or view it on GitHubhttps://github.com/slick/slick-examples/pull/19#issuecomment-33374996 .