slick / slick-examples

A sample project for getting started with Slick
https://scala-slick.org/
156 stars 70 forks source link

Database connection pool example with c3p0 #19

Open fernandezpablo85 opened 11 years ago

fernandezpablo85 commented 11 years ago

don't you guys want this? /cc @szeiger

szeiger commented 11 years ago

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).

fernandezpablo85 commented 11 years ago

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

fernandezpablo85 commented 10 years ago

Is this going in?

szeiger commented 10 years ago

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.

fernandezpablo85 commented 10 years ago

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 notifications@github.comwrote:

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 .