28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

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.

The first column shows the field name in the GUI-based tracing configuration tool, and the second column shows<br />

the command to enter when using the command-line tool.<br />

Table 16: Trace Options<br />

Option Command Line Option Description<br />

Trace enabled TRACE ON | OFF Starts and stops tracing<br />

Trace file folder No command-line option. The folder can be specified<br />

with the FILENAME option.<br />

Sets the directory where the system<br />

writes the trace files.<br />

When no folder is specified, the files<br />

are saved in the working directory of<br />

the application.<br />

Trace file name TRACE FILENAME [] Sets the name of the trace file.<br />

Limit file size TRACE SIZE [KB|MB|GB]<br />

To remove the size limit, use the following option:<br />

TRACE SIZE UNLIMITED<br />

Stop on error TRACE STOP ON ERROR <br />

To no longer stop on the specified error, use the<br />

following option:<br />

TRACE STOP ON ERROR OFF<br />

The system assigns each trace file<br />

an additional unique ID, so the file<br />

name is:<br />

_.prt<br />

The default file name is<br />

jdbctrace.<br />

Limits the size of each trace file.<br />

Stops writing the JDBC trace when<br />

the specified error code occurs.<br />

14.2.2 Valid Java-to-SQL Conversions<br />

<strong>SAP</strong> <strong>HANA</strong> allows each Java object to be converted to specific SQL types using the JDBC method<br />

PreparedStatement.setObject or RowSet.setObject.<br />

Some conversions may fail at runtime if the value passed is invalid.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Using Database Client Interfaces<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved. 361

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

Saved successfully!

Ooh no, something went wrong!