diff --git a/kernel/src/main/java/org/efaps/db/databases/OracleDatabase.java b/kernel/src/main/java/org/efaps/db/databases/OracleDatabase.java
index <HASH>..<HASH> 100644
--- a/kernel/src/main/java/org/efaps/db/databases/OracleDatabase.java
+++ b/kernel/src/main/java/org/efaps/db/databases/OracleDatabase.java
@@ -127,7 +127,7 @@ public class OracleDatabase extends AbstractDatabase  {
 
     try  {
       ResultSet rs = stmt.executeQuery(
-            "select t.TABLENAME "
+            "select VIEW_NAME "
                 + "from USER_VIEWS "
                 + "where VIEW_NAME='" + _viewName.toUpperCase() + "'"
       );
- wrong column name of the user views was used

git-svn-id: <URL>