This is an automated email from the ASF dual-hosted git repository.

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git


The following commit(s) were added to refs/heads/master by this push:
     new 87964e00c Update OracleDictionary to use unqualified table name
87964e00c is described below

commit 87964e00c50f2b421c2b6685d66fce73512fb6e1
Author: Sylinsic <38617929+sylin...@users.noreply.github.com>
AuthorDate: Sun Jul 20 17:42:14 2025 +0100

    Update OracleDictionary to use unqualified table name
---
 .../src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java 
b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
index eb087b666..4b48348eb 100644
--- 
a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
+++ 
b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
@@ -1047,7 +1047,7 @@ public class OracleDictionary
             if (!DBIdentifier.isNull(schemaName))
                 setString(stmnt, idx++, convertSchemaCase(schemaName), null);
             if (!DBIdentifier.isNull(tableName))
-                setString(stmnt, idx++, convertSchemaCase(tableName), null);
+                setString(stmnt, idx++, 
convertSchemaCase(tableName.getUnqualifiedName()), null);
 
             setTimeouts(stmnt, conf, false);
             rs = stmnt.executeQuery();
@@ -1126,7 +1126,7 @@ public class OracleDictionary
             if (!DBIdentifier.isNull(schemaName))
                 setString(stmnt, idx++, convertSchemaCase(schemaName), null);
             if (!DBIdentifier.isNull(tableName))
-                setString(stmnt, idx++, convertSchemaCase(tableName), null);
+                setString(stmnt, idx++, 
convertSchemaCase(tableName.getUnqualifiedName()), null);
             setTimeouts(stmnt, conf, false);
             rs = stmnt.executeQuery();
             List<ForeignKey> fkList = new ArrayList<>();

Reply via email to