Any tips?
~~ Robert.
dataSource {
pooled = true
driverClassName = "com.mysql.jdbc.Driver"
maxActive = 30
initialSize = 0
//loggingSql = true
}
It's been a while since I needed to mess with this, but I think that
the properties that are in the dataSource stanza are anything that are
normally in the tomcat context XML
Alternatively, you should be able to reference a JNDI connection and
configure that connection (and the number of connections it allows) in
your webserver's container (normally in a "context" snippet of xml).
-Ted
I've dropped some code into the BootStrap.groovy to grab the "dataSource" bean out of the context
and do some configuration on it -- is it equivalent to setting properties in DataSource.groovy?
~~ Robert.
For testing to see if it works, I think that should be OK (assuming
hibernate is able to pick up those differences and doesn't have the
pool size already established, something I'm not 100% positive about).
-Ted