This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I would strongly favor passing the SQL and just executing the query in one place rather than trying to pass the connection around. You don't want the connection open for longer than neccessary as it wastes resources.