阅读背景:

用于编译时发现不安全/错误查询的模式

来源:互联网 

My team is developing a large java application which extensively queries a MySQL database (in different classes and modules). I'd like to known if there is a pattern that allows me to be notified at compile time if there are queries that refer to a wrong table structure (for instance if I remove or add a field on a table and the query string refers to it), in order to prevent runtime errors. This should work also for JOIN queries.My team is developing a large java application




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: