Hello,

problem occurred when I was trying to link Oracle scheme. Error was 
reported when table with the name was found in different schemes eg.: 
schema1.some_view schema2.some_view.  It is likely caused by ignoring the 
source schema when CREATE LINKED TABLE SQL is build.When it is added to 
overloaded method it works as expected.


Here is the fixed source code:

@@ -82,6 +82,8 @@
                     append(", ").
                     append(StringUtils.quoteStringSQL(password)).
                     append(", ").
+                    append(StringUtils.quoteStringSQL(sourceSchema)).
+                    append(", ").
                     append(StringUtils.quoteStringSQL(table)).
                     append(')');
                 stat.execute(buff.toString());


By 

Lubomir

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to