[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-2608) Additional warning for Hibernate Console Configuration edit dialog
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Fri Sep 5 11:34:39 EDT 2008
[ https://jira.jboss.org/jira/browse/JBIDE-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen resolved JBIDE-2608.
----------------------------------------
Resolution: Rejected
Was surprised to see that this was actually committed to trunk without being marked as fixed.
In any case, i'm rolling this back when JBIDE-719 is being fixed since I can see it is not implemented correctly.
The statement/warning is correct a runtime if there is both a /hibernate.properties and /hibernate.cfg.xml, but this is *not* related to the properties files that are possible to setup in console configuration. Here the propertiies are available to *explicitly* override what is specified in persistence.xml/cfg.xml AND any overridable properties found in /hibernate.properties in the classpath.
Thus this warning is saying the complete opposite of what is actually going on.
> Additional warning for Hibernate Console Configuration edit dialog
> ------------------------------------------------------------------
>
> Key: JBIDE-2608
> URL: https://jira.jboss.org/jira/browse/JBIDE-2608
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: integration
> Affects Versions: 2.1.3, 3.0.0.alpha
> Reporter: Vitali Yemialyanchyk
> Assignee: Anton Klimkovich
> Priority: Minor
> Fix For: 3.0.0.beta1
>
>
> "If you have both hibernate.properties and hibernate.cfg.xml in the classpath, the settings of the XML configuration file will override the settings used in the properties."
> the user should get such message when edit Hibernate Console Configuration and add properties (with cfg.xml) and vice versa.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list