Database Connections
A database connection to the FTM database is available to the task using the getConnection() method. The Services Framework always supplies each task with a dedicated connection to use while processing work.
When a task is using the connection to perform queries, inserts, updates, deletes, and so forth, it is the
responsibility of the task to handle any database transactions (commits or rollbacks). The Base Task provides
a method for committing or rolling back database transactions.
protected void commitTransaction(boolean commitWork)
Note: Do not close the obtained database connection object in the sub task. For more information, see
Releasing Resources.
Refer to the Javadoc information for additional information about methods and signatures.