There are many tools that trace dependency between java classes like Lattix, But, A开发者_开发技巧re there tools that trace from a database table to java classes ?(Ideally, create CRUD table automatically)
I think Hibernate does that for you. Have a look here
You should turn the log at the TRACE level on hibernate classes and set show sql property what is actually Hibernate doing. This apply to every persistence framework you use.
精彩评论