Skip to content

Commit

Permalink
0000694 - Fix JdbcSqlTemplate to create new SqlTemplateSettings if on…
Browse files Browse the repository at this point in the history
…e isn't provided.
  • Loading branch information
gwilmer committed Jul 5, 2012
1 parent 13f17ab commit a207275
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,7 +51,7 @@ public class JdbcSqlTemplate extends AbstractSqlTemplate implements ISqlTemplate
public JdbcSqlTemplate(DataSource dataSource, SqlTemplateSettings settings,
LobHandler lobHandler) {
this.dataSource = dataSource;
this.settings = settings;
this.settings = settings == null ? new SqlTemplateSettings() : settings;
this.lobHandler = lobHandler == null ? new DefaultLobHandler() : lobHandler;
}

Expand Down

0 comments on commit a207275

Please sign in to comment.