[jbosstools-issues] [JBoss JIRA] (JBIDE-11187) Control over setting "Discover annotated classes automatically" as the default for JPA Facet

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Wed May 23 04:23:18 EDT 2012


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

Dmitry Geraskov updated JBIDE-11187:
------------------------------------

    Description: 
When you enable JPA on a project it defaults to requiring having the classes listed in persistence.xml.

That's really an annoying default since then when you generate classes it will complain about the classes not be available.

Do we have any way to control this default when user chooses Hibernate platform or as a global override somewhere ?

Here is dali-dev discussion http://dev.eclipse.org/mhonarc/lists/dali-dev/msg01319.html

  was:
When you enable JPA on a project it defaults to requiring having the classes listed in persistence.xml.

That's really an annoying default since then when you generate classes it will complain about the classes not be available.

Do we have any way to control this default when user chooses Hibernate platform or as a global override somewhere ?


    
> Control over setting "Discover annotated classes automatically" as the default for JPA Facet
> --------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-11187
>                 URL: https://issues.jboss.org/browse/JBIDE-11187
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>            Reporter: Max Rydahl Andersen
>            Assignee: Dmitry Geraskov
>            Priority: Critical
>             Fix For: 3.4.x
>
>
> When you enable JPA on a project it defaults to requiring having the classes listed in persistence.xml.
> That's really an annoying default since then when you generate classes it will complain about the classes not be available.
> Do we have any way to control this default when user chooses Hibernate platform or as a global override somewhere ?
> Here is dali-dev discussion http://dev.eclipse.org/mhonarc/lists/dali-dev/msg01319.html

--
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