mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
Update tests only for Oracle
This commit is contained in:
1 parent
35a6ff7f02
commit
9af006b15b
14 files changed
+51
-41
No files matched your search
@@ -143,7 +143,7 @@ public abstract class BaseTestCase {
|
||||
}
|
||||
|
||||
protected String trimSql(String sql) {
|
||||
if (sql.contains(" c0,") || sql.contains(" c0 ") || sql.contains(" c1,") || sql.contains(" c1 ")) {
|
||||
if (sql.contains(" c0 from ") || sql.contains(" c0,") || sql.contains(" c0 ") || sql.contains(" c1,") || sql.contains(" c1 ")) {
|
||||
// for oracle we include column alias so lets remove those
|
||||
return trimSql(sql, 10);
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ public class PlatformCondition implements ExecutionCondition {
|
||||
}
|
||||
IgnorePlatform ignore = annotatedElement.getAnnotation(IgnorePlatform.class);
|
||||
if (ignore != null && platformMath(ignore.value())) {
|
||||
return ConditionEvaluationResult.disabled("@ForPlatform");
|
||||
return ConditionEvaluationResult.disabled("@IgnorePlatform");
|
||||
}
|
||||
}
|
||||
return ENABLED;
|
||||
|
||||
Reference in new issue
Block a user