public class DBPlatformHelper extends Object
Constructor and Description |
---|
DBPlatformHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getDBPlatform(String vendorName,
SessionLog logger)
Get Database Platform from vendor name.
|
public static String getDBPlatform(String vendorName, SessionLog logger)
vendorName
- Input vendor name. Typically this is obtained by querying
DatabaseMetaData
.logger
- The logger.vendorName
.
If vendorName does not match any of predefined vendor names,
DEFAULTPLATFORM
is returned.Copyright © 2024. All rights reserved.