You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by lonvarscsak <gi...@git.apache.org> on 2017/03/13 22:04:29 UTC
[GitHub] cayenne pull request #176: Reverse Engineering doesn't work with Sybase
GitHub user lonvarscsak opened a pull request:
https://github.com/apache/cayenne/pull/176
Reverse Engineering doesn't work with Sybase
Modified connection.getSchema() call to be wrapped in try/catch block with a warning to the log. In Sybase, getSchema() throws an Error because technically a schema isn't a valid concept. The closest comparison in Sybase is the owner of the object (usually "dbo"). In this case, "currentSchema" will be null (which doesn't appear to have any consequences).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/smarthealth/cayenne sybase-reverse-engineer-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cayenne/pull/176.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #176
----
commit 611e96ead591060b882f66b58174c82aebb7b62b
Author: Lon Varscsak <lo...@gmail.com>
Date: 2017-03-13T21:46:49Z
Modified connection.getSchema() call to be wrapped in try/catch block
with a warning to the log. In Sybase, getSchema() throws an Error (not
an Exception) because technically a schmea isn't a valid concept. The
closes comparison in Sybase is the owner of the object (usually "dbo").
In this case, "currentSchema" will be null (which doesn't appear to have
any consequences).
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cayenne pull request #176: Reverse Engineering doesn't work with Sybase
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/cayenne/pull/176
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---