> U should manage the JDBC connections as u would do normally.

And that is?

Should I do like this in every method?

{
        Connection conn = dataSource.getConnection();

        // use the connection

        conn.close();
}

Is it OK to close() a connection even if the transaction isn't finished?

Reply via email to