NPE getTableNameForMetadata when running SchemaTool reflect against Postgres DB
-------------------------------------------------------------------------------
Key: OPENJPA-1998
URL: https://issues.apache.org/jira/browse/OPENJPA-1998
Project: OpenJPA
Issue Type: Bug
Components: jdbc
Affects Versions: 2.1.0
Environment: Windows 7, Eclipse Helios 3.6.2, remote Postgres DB 8.4.
on Debian squeeze
Reporter: John Boblitz
When running the SchemaTool to reverse a DB Schema, an NPE occurs at
getTableNameForMetadata for foreign keys (tables and pk / uq indices works
correctly!) Debugging shows that the tableName parameter is null when invoked.
The NPE is caused by the invocation of tableName.getUnqualifiedName() ...
tableName is still null at that point!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira