[jbosstools-issues] [JBoss JIRA] (JBIDE-12343) JPA: Wrong message "Project must be a JPA project"

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Wed Jul 18 07:42:06 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Geraskov resolved JBIDE-12343.
-------------------------------------

    Resolution: Done


Unfortunately JavaProject.getAdapter(JpaProject.class) returns null while IProject.getAdapter(JpaProject.class) returns expected instance
                
> JPA: Wrong message "Project must be a JPA project"
> --------------------------------------------------
>
>                 Key: JBIDE-12343
>                 URL: https://issues.jboss.org/browse/JBIDE-12343
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 3.3.0.Final
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>            Priority: Critical
>              Labels: regression
>             Fix For: 3.4.0.M1
>
>
> This message appears even for projects which actually JPA. It could signal about wrong mechanism which we use to get JPAProject instance.
> Test case:
> 1. Create JPAProject with Hibernate platform
> 2. Double click on it ConsoleConfiguration
> FAILURE: wrong message appears

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list