skip to main content
About the Driver : Using the Driver : Troubleshooting : Troubleshooting Statement Pooling : Statement Pool Export File Example
  
Statement Pool Export File Example
The following example shows a sample export file. Notes provide explanations for the referenced text to help you understand the content of your own statement pool export files.

[DDTEK_STMT_POOL]1
VERSION=12

[STMT_ENTRY]3
SQL_TEXT=[
INSERT INTO emp(id, name) VALUES(?,?)
]
STATEMENT_TYPE=Prepared Statement
RESULTSET_TYPE=Forward Only
RESULTSET_CONCURRENCY=Read Only
AUTOGENERATEDKEYSREQUESTED=false
REQUESTEDKEYCOLUMNS=

[STMT_ENTRY]4
SQL_TEXT=[
INSERT INTO emp(id, name) VALUES(99,?)
]
STATEMENT_TYPE=Prepared Statement
RESULTSET_TYPE=Forward Only
RESULTSET_CONCURRENCY=Read Only
AUTOGENERATEDKEYSREQUESTED=false
REQUESTEDKEYCOLUMNS=id,name

1 A string that identifies the file as a statement pool export file.

2 The version of the export file.

3 The first statement pool entry. Each statement pool entry lists the SQL text, statement type, result set type, result set concurrency type, and generated keys information.

4 The next statement pool entry.