10.02.2013 Views

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 6: Driver Connection Properties <strong>and</strong> Data Types by Database Br<strong>and</strong><br />

Table 20. Connection Properties for the Sybase Driver (continued)<br />

Property Description<br />

PrepareMethod<br />

OPTIONAL<br />

{StoredProc | StoredProclfParam | Direct}<br />

Determines whether stored procedures are created on the server for<br />

prepared statements:<br />

● StoredProc — A stored procedure is created when the statement is<br />

prepared <strong>and</strong> is executed when the prepared statement is executed.<br />

● StoredProcIfParam — A stored procedure is created only if the<br />

prepared statement contains one or multiple parameter markers. In<br />

this case, it is created when the statement is prepared <strong>and</strong> is executed<br />

when the prepared statement is executed. If the statement does not<br />

contain parameter markers, a stored procedure is not created <strong>and</strong> the<br />

statement is executed directly.<br />

● Direct — A stored procedure is not created for the prepared<br />

statement <strong>and</strong> the statement is executed directly. A stored procedure<br />

might be created if parameter metadata is requested.<br />

The default is StoredProclfParam.<br />

Setting this property to StoredProc or StoredProclfParam can improve<br />

performance if your application executes prepared statements multiple<br />

times because, once created, executing a stored procedure is faster than<br />

executing a single database query. If a prepared statement is only<br />

executed once or is never executed, performance can decrease because<br />

creating a stored procedure incurs more overhead on the server than<br />

simply executing a single database query. Setting this property to Direct<br />

should be used if your application does not execute prepared statements<br />

multiple times.<br />

211 <strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Management</strong> <strong>Guide</strong> 8.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!