# Overview: Database Controls

A Database control makes it easy to access a relational database from your Java code using SQL commands. The Database control handles the work of connecting to the database, so you don’t have to understand JDBC to work with a database.

The methods that you add to a Database control execute SQL commands against the database. You can send any SQL command to the database via the Database control, so that you can retrieve data, perform operations like inserts and updates, and even make structural changes to the database, although a web service interface is generally not the most efficient way of doing so.

All Database controls are subclassed from the DatabaseControl interface. The interface defines methods that Database control instances can call from an application. To learn more about this relationship, see The DatabaseControl Interface.

Database operations may occur within the context of an implicit transaction that wraps each web service method invocation. To learn more about WebLogic Workshop's default transaction semantics, see Default Transactional Behavior in WebLogic Workshop.

Related Topics

None