Interface ISqlConnection
- All Superinterfaces:
IConnection
- All Known Implementing Classes:
J2eeConnection
This interface defines the methods of an SQL connection.
- Since:
- 6.3
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptioncreateQuery
(String queryStr) This method may be used to create a query object for the SQL connection.createQuery
(String queryStr, String pk) This method may be used to create an INSERT query from which an auto-generated value must be retrieved usingIQuery.getIdentity()
.Methods inherited from interface com.aquima.interactions.foundation.connectivity.IConnection
getName, getType
-
Method Details
-
createQuery
This method may be used to create a query object for the SQL connection.- Parameters:
queryStr
- The query string that should be used by the query object.- Returns:
- Query object for the provided query string.
-
createQuery
This method may be used to create an INSERT query from which an auto-generated value must be retrieved usingIQuery.getIdentity()
.- Parameters:
queryStr
- the query string that should be used by the query object.pk
- the name of the primary key column whose value is auto-generated by the database- Returns:
- the query object for the provided query string.
-