[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3787) Hibernate console configuration

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Wed Feb 11 07:59:44 EST 2009


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

Vitali Yemialyanchyk commented on JBIDE-3787:
---------------------------------------------

stacktrace:

org.hibernate.HibernateException: /hibernate.cfg.xml not found
	at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
	at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1405)
	at org.hibernate.cfg.Configuration.configure(Configuration.java:1427)
	at org.hibernate.cfg.Configuration.configure(Configuration.java:1414)
	at org.hibernate.console.ConsoleConfiguration.loadConfigurationXML(ConsoleConfiguration.java:337)
	at org.hibernate.console.ConsoleConfiguration.configureStandardConfiguration(ConsoleConfiguration.java:579)
	at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:551)
	at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:526)
	at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:222)
	at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:64)
	at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:204)
	at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:111)
	at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:40)
	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:99)
	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:105)
	at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


> Hibernate console configuration 
> --------------------------------
>
>                 Key: JBIDE-3787
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3787
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.0.0.CR2
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Vitali Yemialyanchyk
>            Priority: Minor
>         Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg
>
>
> I create HCC without projects in the workspace:
> 1) I setup database connection;
> 2) I add MySQL driver into classpath;
> look at screenshots.
> Then I try to expand HCC tree item - I get exception.

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