Index: ../src-rep/src/lib/aqua-database/com/aquafold/aquacore/open/rdbms/core/schema/extract/ExtractView.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- ../src-rep/src/lib/aqua-database/com/aquafold/aquacore/open/rdbms/core/schema/extract/ExtractView.java (revision 58523) +++ ../src-rep/src/lib/aqua-database/com/aquafold/aquacore/open/rdbms/core/schema/extract/ExtractView.java (revision ) @@ -557,10 +557,9 @@ resultSet = statement.executeQuery(sql.toString()); if (resultSet.next()) { sqlText = resultSet.getString(2); - int indexOfSelect = org.apache.commons.lang3.StringUtils.indexOfIgnoreCase(sqlText,"select "); + int indexOfSelect = org.apache.commons.lang3.StringUtils.indexOfIgnoreCase(sqlText, "select "); - if(indexOfSelect == -1) - { - throw new SQLException(); + if (indexOfSelect == -1) { + throw new SQLException("Unable to fetch the view definition created by a different user"); } sqlText = sqlText.substring(indexOfSelect); }