Added setter & getter for FIPS property
@@ -558,6 +558,15 @@ public class SQLServerDataSource implements ISQLServerDataSource, DataSource, ja
SQLServerDriverBooleanProperty.XOPEN_STATES.getDefaultValue());
}
+ public void setFIPS(boolean fips) {
+ setBooleanProperty(connectionProps, SQLServerDriverBooleanProperty.FIPS.toString(), fips);
+ }
+
+ public boolean getFIPS() {
+ return getBooleanProperty(connectionProps, SQLServerDriverBooleanProperty.FIPS.toString(),
+ SQLServerDriverBooleanProperty.FIPS.getDefaultValue());
+ }
+
public void setFIPSProvider(String fipsProvider) {
setStringProperty(connectionProps, SQLServerDriverStringProperty.FIPS_PROVIDER.toString(), fipsProvider);
}
