loadLibrary static method
Load the Oracle DPI library
Implementation
static DynamicLibrary loadLibrary({String? libraryPath}) {
try {
final path = findLibraryPath(libraryPath: libraryPath);
return DynamicLibrary.open(path);
} catch (e) {
if (e is OracleConfigurationException) {
rethrow;
}
throw OracleConfigurationException(
'Failed to load Oracle client library: $e',
);
}
}