You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "sebastien morissette (JIRA)" <ji...@apache.org> on 2011/06/27 21:55:47 UTC
[jira] [Commented] (OPENJPA-2022) Reversemappingtooltask with
oracle is failing like in OPENJPA-1940 previous bug
[ https://issues.apache.org/jira/browse/OPENJPA-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055719#comment-13055719 ]
sebastien morissette commented on OPENJPA-2022:
-----------------------------------------------
Hi, my database is at home so i will have to get back to you for the DDL,
however, here is the output of the openjpaversion...
[java] OpenJPA 2.1.1-SNAPSHOT
[java] version id: openjpa-2.1.1-SNAPSHOT-r422266:1134440
[java] Apache svn revision: 422266:1134440
[java] os.name: Windows 7
[java] os.version: 6.1
[java] os.arch: x86
[java] java.version: 1.6.0
[java] java.vendor: IBM Corporation
[java] java.class.path:
[java] C:\Data\workspace\openJPADBMapping
[java] C:\Data\workspace\openJPADBMapping\lib\ojdbc6.jar
[java] C:\Data\workspace\openJPADBMapping\lib\openjpa-all-2.1.1-SNAPSHOT.jar
[java] user.dir: C:\Data\workspace\openJPADBMapping\src
> Reversemappingtooltask with oracle is failing like in OPENJPA-1940 previous bug
> -------------------------------------------------------------------------------
>
> Key: OPENJPA-2022
> URL: https://issues.apache.org/jira/browse/OPENJPA-2022
> Project: OpenJPA
> Issue Type: Bug
> Components: tooling
> Affects Versions: 2.1.0, 2.1.1, 2.2.0
> Environment: Woking on a windows pc with a oracle 10g express database, eclipse helios, using oracle 11.2.0.2 driver.
> Reporter: sebastien morissette
> Assignee: Michael Dick
> Fix For: 2.1.1, 2.2.0
>
>
> When running either of the versions of the reversemappingtool as reported in the 1940 bug as fixed, i get the same error as in 2.1.0 :
> [reversemappingtool] 2363 openjpa INFO [main] openjpa.Tool - ReverseMappingTool : generating classes.
> [reversemappingtool] 2365 openjpa INFO [main] openjpa.MetaData - Table "RMTOOLS."AppUsers"" could not be reverse mapped. This means that the table does not have a primary key (primary keys are required to establish unique identifiers for all persistent objects) and does not match a known pattern for a table used for cross-reference or value collections.
> [reversemappingtool] 2366 openjpa INFO [main] openjpa.MetaData - Table "RMTOOLS."CredentialTypes"" could not be reverse mapped. This means that the table does not have a primary key (primary keys are required to establish unique identifiers for all persistent objects) and does not match a known pattern for a table used for cross-reference or value collections.
> [reversemappingtool] 2366 openjpa INFO [main] openjpa.MetaData - Table "RMTOOLS."Credentials"" could not be reverse mapped. This means that the table does not have a primary key (primary keys are required to establish unique identifiers for all persistent objects) and does not match a known pattern for a table used for cross-reference or value collections.
> this happens for all my tables. Is it possible this bug was reintroduced?
> thanks
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira