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

ruby on rails - Devise Logout Error in RoR -

model view controller - MVC Rails Planning -

php - Working with pretty urls on apache and fastcgi after hhvm installation -