如何理解PreparedStatementCache,以及如何使用
为节约键盘敲击次数,记PreparedStatement为PS, PreparedStatementCache为PSCache,并且所有的SQL使用的绑定变量。 原理: http://www.dbafree.net/?p=287 http://agapple.iteye.com/blog ...
为节约键盘敲击次数,记PreparedStatement为PS, PreparedStatementCache为PSCache,并且所有的SQL使用的绑定变量。 原理: http://www.dbafree.net/?p=287 http://agapple.iteye.com/blog ...
今天看了jdbc的源码,感觉特别有意思,下面是jdbc的传统步骤: 这里我用的是最新的mysql驱动包 第一点:加载驱动。 所以也就是说,在Class.forName加载完 ...