org.mybatis.guice.configuration.settings.CallSettersOnNullsConfigurationSetting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-guice Show documentation
Show all versions of mybatis-guice Show documentation
The MyBatis Guice module is easy-to-use Google Guice bridge for MyBatis sql mapping framework.
package org.mybatis.guice.configuration.settings;
import org.apache.ibatis.session.Configuration;
public class CallSettersOnNullsConfigurationSetting implements ConfigurationSetting {
private final boolean callSettersOnNulls;
public CallSettersOnNullsConfigurationSetting(final boolean callSettersOnNulls){
this.callSettersOnNulls = callSettersOnNulls;
}
@Override
public void applyConfigurationSetting(Configuration configuration) {
configuration.setCallSettersOnNulls(callSettersOnNulls);
}
}