AbstractDbAccessWebService (Abstract Class)

Framework Components [com.onepg.web]

← Back to Class List

Class Information

Package: com.onepg.web

Class Name: AbstractDbAccessWebService (Abstract Class)

Extends: AbstractWebService

Description

Database access web service base class.
  • This is the base class for web services that include database connections.
  • Automatically handles obtaining and closing DB connections.

Method List

getDbConn

protected Connection getDbConn()
Gets DB connection.
  • Returns the current DB connection.
  • This connection is valid only within the execute method.

Return Value

Connection - DB connection