The Carbon SQL service allows the SQL code behind standard JDBC usage to
be stored outside the code in carbon configuration files. This service
provide a statement factory that can be used to construct standard
JDBC PreparedStatement
and CallableStatement
objects from configurations.
You can configure as many statement factories as necessary and it is
standard practice to group statements against an entity or group of entities
into a single Statement Factory service. It is also a good idea to
place the services into the component namespace as per their business
perspective.