hey there, i'm new to JDBC stuff, so i did my best to make a simple SQL editor for my university project. i need to know how to return my connection object in this code..
// sorry the code is long...but i really need this! :>
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.