Dependency @Entity class mapping to DataSource doesn't work

Hi,

with any @Entity class, if the Datasource is defined in the JPA facet,
you can Go to Declaration, and IDEA would directly open the
corresponding Table in the Datasource dialog.

I just realized this extremely convenient feature doesn't work with
@Entity classes coming from JAR dependencies, even when defined
explicitly in the

I think it should work with any @Entity taken into account by the
EntityManager.

/nodje

1 comment
Comment actions Permalink

http://youtrack.jetbrains.net/issue/IDEA-24847

On 09.06.2010 13:22, nodje wrote:

Hi,

>

with any @Entity class, if the Datasource is defined in the JPA facet,
you can Go to Declaration, and IDEA would directly open the
corresponding Table in the Datasource dialog.

>

I just realized this extremely convenient feature doesn't work with
@Entity classes coming from JAR dependencies, even when defined
explicitly in the <persistence-unit>.

>

ex. <class>com.allence.commons.model.Parameter</class>

>

I think it should work with any @Entity taken into account by the
EntityManager.

>

/nodje

>

0

Please sign in to leave a comment.