Skip to content

Commit

Permalink
fixed config for poolPreparedStatement
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Aug 19, 2013
1 parent 26419df commit 0526585
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ public int getMaxPoolPreparedStatementPerConnectionSize() {
public void setMaxPoolPreparedStatementPerConnectionSize(int maxPoolPreparedStatementPerConnectionSize) {
if (maxPoolPreparedStatementPerConnectionSize > 0) {
this.poolPreparedStatements = true;
} else {
this.poolPreparedStatements = false;
}

this.maxPoolPreparedStatementPerConnectionSize = maxPoolPreparedStatementPerConnectionSize;
Expand Down

0 comments on commit 0526585

Please sign in to comment.