openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Duville (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1037) queries don't use catalog name, desirable for sybase DB
Date Tue, 14 Apr 2009 16:40:15 GMT
queries don't use catalog name, desirable for sybase DB
-------------------------------------------------------

                 Key: OPENJPA-1037
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1037
             Project: OpenJPA
          Issue Type: Wish
          Components: query
         Environment: BEA weblogic, Sybase DB
            Reporter: Mark Duville


in DB-queries the catalog name is never used, like in "select * from mycatalog..MyTable where
..."
This is unfortunate with Sybase (where catalogs are heavily used), because it forces one to
have multiple persistence units, one for each catalog.
And when I want a relation to an entity mapped to a table in a different catalog, I get an
SQL-exception, since the 2nd table cannot be found (in the same catalog).
This could be solved by prepending the catalog to the table name.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message