java - Logging SQL on error only -



java - Logging SQL on error only -

i logging sql hibernate using p6spy in order total sql parameters in can copied , pasted easier debugging. want log when database has error. there anyway accomplish while still maintaining sql parameters still in using p6spy or different tool. clear when still in mean, example, instead of saying select * employee employee.id = ? select * employee employee.id = 28.

java sql hibernate postgresql p6spy

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -