instead of rolling our own trace/profile code in java, lets use sqlite 3.6.22 features. turns out sqlite does a good job of printing the sql statements - including the ones from the triggers.
f5d2eec4
11b97c50
ace8addc
2edd6826
ad9bcb22