Forum Discussion
alibaba82
16 years agoSuper Contributor
I think i figured out the problem. I was not closing connection in my groovy script. I also made the def sql static (i believe this will cause the sql object to be shared among the threads?)
so now my constructor has something like
try
{
if(sql)
{
sql = Sql.newInstance(connectionString)
}
}
Does this look ok ?
so now my constructor has something like
try
{
if(sql)
{
sql = Sql.newInstance(connectionString)
}
}
Does this look ok ?