[ 
https://issues.apache.org/jira/browse/OPENJPA-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Boblitz updated OPENJPA-1998:
----------------------------------

    Attachment: output.txt

The Console output

> 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
>         Attachments: output.txt
>
>
> 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

Reply via email to