Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add warning for missing Ora i18n driver independent of DB version
  • Loading branch information
pesse committed Jun 4, 2019
commit ebc1353641860c753f6246d97d68a8dd8594a3a2
7 changes: 3 additions & 4 deletions src/main/java/org/utplsql/cli/RunCommandChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ class RunCommandChecker {
*/
static void checkOracleI18nExists(Connection con) throws SQLException {

String oracleDatabaseVersion = DBHelper.getOracleDatabaseVersion(con);
if ( oracleDatabaseVersion.startsWith("11.") && !OracleLibraryChecker.checkOrai18nExists() )
if ( !OracleLibraryChecker.checkOrai18nExists() )
{
System.out.println("Warning: Could not find Oracle i18n driver in classpath. Depending on the database charset " +
"utPLSQL-cli might not run properly. It is recommended you download " +
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 http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html");
}
Expand Down