[jbosstools-issues] [JBoss JIRA] (JBIDE-17940) JPA Details view doesn't work for entities in autodiscovery mode when they are not explicitely listed

Koen Aers (JIRA) issues at jboss.org
Wed Sep 24 09:41:02 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005718#comment-13005718 ] 

Koen Aers commented on JBIDE-17940:
-----------------------------------

The behavior of the JPA details view is the same for the Generic platform as for the Hibernate platform: the details only show up after clicking in the editor. I would expect that the details view is populated as soon as the editor opens. I have a feeling this is an upstream problem but it needs more investigation. Also, afaics there is no difference between the auto discovery mode and when the entities are listed in the persistence.xml: in both cases the details view is only populated after clicking in the open editor.

The behavior of the JPA structure view is different. With the generic platform the entities are recognized as JPA entities and the JPA structure view populates (even without clicking in the editor). With the Hibernate platform this doesn't happen (not even when clicking in the editor). So in this last case, I have the impression that it is a problem of the Hibernate platform implementation.

> JPA Details view doesn't work for entities in autodiscovery mode when they are not explicitely listed
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-17940
>                 URL: https://issues.jboss.org/browse/JBIDE-17940
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate, upstream
>    Affects Versions: 4.2.0.Beta3
>         Environment: JBDS 8.0.0.Beta3, GNU/Linux 64
>            Reporter: Jiri Peterka
>            Assignee: Koen Aers
>            Priority: Critical
>             Fix For: 4.2.0.CR2
>
>
> JPA Details view is not working for entities in autodiscovery mode. It only works when entities are added into Managed Classes entities list. It's expected when JPA project is configured with "Discover annotated classes automatically" it should without manual listing entities in persistence.xml.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list