public static WSConnectionRequestInfoImpl createChangableCRIFromNon ( WSConnectionRequestInfoImpl oldCRI ) { WSConnectionRequestInfoImpl connInfo = new WSConnectionRequestInfoImpl ( oldCRI . getUserName ( ) , oldCRI . getPassword ( ) , oldCRI . getIsolationLevel ( ) , oldCRI . getCatalog ( ) , oldCRI . isReadOnly ( ) , oldCRI . getShardingKey ( ) , oldCRI . getSuperShardingKey ( ) , oldCRI . getTypeMap ( ) , oldCRI . getHoldability ( ) , oldCRI . getSchema ( ) , oldCRI . getNetworkTimeout ( ) , oldCRI . getConfigID ( ) , oldCRI . getSupportIsolvlSwitchingValue ( ) ) ; connInfo . setDefaultValues ( oldCRI . defaultCatalog , oldCRI . defaultHoldability , oldCRI . defaultReadOnly , oldCRI . defaultTypeMap , oldCRI . defaultSchema , oldCRI . defaultNetworkTimeout ) ; connInfo . markAsChangable ( ) ; return connInfo ; }
utility to create changable CRI from non changable one .