-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathRunCommandChecker.java
More file actions
29 lines (24 loc) · 1.08 KB
/
RunCommandChecker.java
File metadata and controls
29 lines (24 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package org.utplsql.cli;
import org.utplsql.api.DBHelper;
import org.utplsql.api.Version;
import org.utplsql.api.compatibility.OptionalFeatures;
import java.sql.Connection;
import java.sql.SQLException;
/** Helper class to check several circumstances with RunCommand. Might need refactoring.
*
* @author pesse
*/
class RunCommandChecker {
/** Checks that orai18n library exists if database is an oracle 11
*
*/
static void checkOracleI18nExists(Connection con) throws SQLException {
if ( !OracleLibraryChecker.checkOrai18nExists() )
{
System.out.println("WARNING: Could not find Oracle i18n driver in classpath. Depending on the database charset " +
"utPLSQL-cli, especially code coverage, might not run properly. It is recommended you download " +
"the i18n driver from the Oracle website and copy it to the 'lib' folder of your utPLSQL-cli installation.");
System.out.println("Download from https://umn0mtkzgj7n40u3.julianrbryant.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html");
}
}
}