[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-231) Hibernate Console hangs during creation of SessionFactory

Aliaksey Nis (JIRA) jira-events at lists.jboss.org
Wed Oct 17 12:32:04 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBIDE-231?page=all ]

Aliaksey Nis closed JBIDE-231.
------------------------------


Closing rejected issue.

> Hibernate Console hangs during creation of SessionFactory
> ---------------------------------------------------------
>
>                 Key: JBIDE-231
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-231
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: Hibernate
>         Environment: org.hibernate.eclipse (3.1.0.alpha5) "Hibernate Core Plugin" [Active]
> org.hibernate.eclipse.console (3.1.0.alpha5) "Hibernate Console" [Active]
> org.hibernate.eclipse.help (3.1.0.alpha5) "Hibernate Help" [Resolved]
> org.hibernate.eclipse.mapper (3.1.0.alpha5) "Mapper Plug-in" [Resolved]
> ---------
> eclipse.buildId=I20050627-1435
> java.version=1.4.2_07
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> ----
> Database: hsqldb 1.7.1
> hibernate.cfg.xml:
> <hibernate-configuration>
> 	<session-factory>
> 		<property name="hibernate.connection.username">sa</property>
> 		<property name="hibernate.dialect">
> 			org.hibernate.dialect.HSQLDialect</property>
> 		<property name="hibernate.connection.url">
> 			jdbc:hsqldb:hsql://localhost:8001
>                 </property>
> 		<property name="hibernate.connection.driver_class">
> 			org.hsqldb.jdbcDriver</property>
> 		<mapping resource="com/mcreations/pops/beans/Allergy.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Catheter.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Catheterparam.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Cycle.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Diagnosis.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Diagtype.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Drug.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Galenic.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Insurance.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Keyval.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Mask.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Material.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Mixture.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Patient.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Patientallergy.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Patientcategory.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Patientdiagnosis.hbm.xml" 
> 			/>
> 		<mapping resource="com/mcreations/pops/beans/Patientdrug.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Patientprocedure.hbm.xml" 
> 			/>
> 		<mapping resource="com/mcreations/pops/beans/Patientrisk.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Patientue.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Procedure.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Pump.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Pumpevent.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Pumptype.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Risk.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Round.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Therapy.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Therapyparam.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Therapytemplate.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Therapytype.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Trauma.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/Ue.hbm.xml" />
> 		<mapping resource="com/mcreations/pops/beans/User.hbm.xml" />
> 	</session-factory>
> </hibernate-configuration>
>            Reporter: Kambiz Darabi
>         Assigned To: Marshall Culpepper
>            Priority: Blocker
>
> When opening a configuration in Hibernate Console ('Hibernate Configurations' tree view),  under normal circumstances, it takes 3 to 4 minutes until the configuration node is expanded. During this time, progress message "Fetching children of ..." is shown. The UI remains responsive, but cancelling the task, doesn't seem to have any effect.
> It doesn't make any difference whether the hsqldb database is opened using standalone or server mode.
> Sometimes, as far as I can tell without any relation to other factors, the node in never expanded, UI doesn't refresh: eclipse hangs completely and has to be killed.
> Desired behaviour: 
> - quick opening of node in tree view
> - some sort of meaningful progress message (like the log output of hibernate during creation of SessionFactory)
> - the plugin should NEVER hang eclipse completely
> - cancelling the task should have an effect

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list