A module for performing SQL queries against Databases, returning XML representations of the result sets.
Executes a prepared SQL statement against a SQL db.
$connection-handle | The connection handle |
$sql-statement | The SQL statement |
$make-node-from-column-name | The flag that indicates whether the xml nodes should be formed from the column names (in this mode a space in a Column Name will be replaced by an underscore!) |
Executes a prepared SQL statement against a SQL db.
$connection-handle | The connection handle |
$statement-handle | The prepared statement handle |
$parameters? | Parameters for the prepared statement. e.g. <sql:parameters><sql:param sql:type="long">1234</sql:param><sql:param sql:type="varchar"><sql:null/></sql:param></sql:parameters> |
$make-node-from-column-name | The flag that indicates whether the xml nodes should be formed from the column names (in this mode a space in a Column Name will be replaced by an underscore!) |
Opens a connection to a SQL Database
$driver-classname | The JDBC driver classname |
$url | The JDBC connection URL |
Opens a connection to a SQL Database
$driver-classname | The JDBC driver classname |
$url | The JDBC connection URL |
$properties? | The JDBC database connection properties in the form <properties><property name="" value=""/></properties>. |
Opens a connection to a SQL Database
$driver-classname | The JDBC driver classname |
$url | The JDBC connection URL |
$username | The SQL database username |
$password | The SQL database password |
Opens a connection to a SQL Database.
$jndi-name | The JNDI name |
Opens a connection to a SQL Database.
$jndi-name | The JNDI name |
$username | The username |
$password | The password |
Prepares a SQL statement against a SQL db using the connection indicated by the connection handle.
$handle | The connection handle |
$sql-statement | The SQL statement |