You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Duville (JIRA)" <ji...@apache.org> on 2009/04/14 18:40:15 UTC
[jira] Created: (OPENJPA-1037) queries don't use catalog name,
desirable for sybase DB
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.