See all ORMLite SQL statements

When working with ORMlite it’s very helpful to see the SQL statements.

This can be easily done using adb shell:

adb shell setprop log.tag.StatementExecutor VERBOSE
adb shell setprop log.tag.BaseMappedStatement VERBOSE
adb shell setprop log.tag.MappedCreate VERBOSE
adb shell setprop log.tag.ORMLite DEBUG

More information is available at http://ormlite.com/javadoc/ormlite-core/doc-files/ormlite_4.html

Published by

Sebastian

Android Developer.

Leave a Reply

Your email address will not be published. Required fields are marked *