Skip to content

Commit ebc1353

Browse files
committed
Add warning for missing Ora i18n driver independent of DB version
1 parent 62ba861 commit ebc1353

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/org/utplsql/cli/RunCommandChecker.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ class RunCommandChecker {
1818
*/
1919
static void checkOracleI18nExists(Connection con) throws SQLException {
2020

21-
String oracleDatabaseVersion = DBHelper.getOracleDatabaseVersion(con);
22-
if ( oracleDatabaseVersion.startsWith("11.") && !OracleLibraryChecker.checkOrai18nExists() )
21+
if ( !OracleLibraryChecker.checkOrai18nExists() )
2322
{
24-
System.out.println("Warning: Could not find Oracle i18n driver in classpath. Depending on the database charset " +
25-
"utPLSQL-cli might not run properly. It is recommended you download " +
23+
System.out.println("WARNING: Could not find Oracle i18n driver in classpath. Depending on the database charset " +
24+
"utPLSQL-cli, especially code coverage, might not run properly. It is recommended you download " +
2625
"the i18n driver from the Oracle website and copy it to the 'lib' folder of your utPLSQL-cli installation.");
2726
System.out.println("Download from http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html");
2827
}

0 commit comments

Comments
 (0)