[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 Mar 7 04:59:36 EST 2012


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

Dmitry Geraskov commented on JBIDE-11187:
-----------------------------------------

JPA Project wizard set default value of "Discover annotated classes automatically to true" if there is Runtime specified for the project and EJB facet version 3.0 is added.

We need to provide option to add generated classes (JPA Tools-> Generate Classes from Tables) to persistens.xml in the issue
                
> 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.3.0.Beta2
>
>
> 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 ?

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