[JBoss JIRA] Created: (JBIDE-6140) Hibernate.dialect must be set error reported although set in hibernate.cfg.xml
by Jiri Peterka (JIRA)
Hibernate.dialect must be set error reported although set in hibernate.cfg.xml
------------------------------------------------------------------------------
Key: JBIDE-6140
URL: https://jira.jboss.org/jira/browse/JBIDE-6140
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.1.0.GA
Environment: JBDS 3.0.0 GA #50, Linux 32, java.version=1.5.0_22
Reporter: Jiri Peterka
Fix For: 3.1.1
Steps: Created Java project, hibernate console, hibernate configuration is set for hsqldb and dialect set. There is this error log
org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection avalable
at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:107)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:142)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2111)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:110)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:107)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:63)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
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
15 years, 10 months
[JBoss JIRA] Created: (JBIDE-5847) Cannot install Hibernate Tools on Eclipse Galileo SR2 M5
by Krasimir Goutcev (JIRA)
Cannot install Hibernate Tools on Eclipse Galileo SR2 M5
--------------------------------------------------------
Key: JBIDE-5847
URL: https://jira.jboss.org/jira/browse/JBIDE-5847
Project: Tools (JBoss Tools)
Issue Type: Bug
Environment: Win Srvers 2003 x64
eclipse-jee-helios-M5-win32
Reporter: Krasimir Goutcev
1. Install eclipse-jee-helios-M5-win32
2. Add update link http://download.jboss.org/jbosstools/updates/nightly/trunk/
3. check Hibernate tools
4 Click "Next"
Result:
Cannot complete the install because one or more required items could not be found.
Software being installed: Hibernate Tools 3.3.0.v201002130332N-H23-CR3 (org.hibernate.eclipse.feature.feature.group 3.3.0.v201002130332N-H23-CR3)
Missing requirement: Hibernate Jdt Core 3.3.0.v201002130332N-H23-CR3 (org.jboss.tools.hibernate.jpt.core 3.3.0.v201002130332N-H23-CR3) requires 'bundle org.eclipse.jpt.core [2.2.0,2.2.2)' but it could not be found
Cannot satisfy dependency:
From: Hibernate Tools 3.3.0.v201002130332N-H23-CR3 (org.hibernate.eclipse.feature.feature.group 3.3.0.v201002130332N-H23-CR3)
To: org.jboss.tools.hibernate.jpt.core [3.3.0.v201002130332N-H23-CR3]
--
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
15 years, 10 months
[JBoss JIRA] Created: (JBIDE-6186) Mapping diagram couldn't save state if uses inner classes
by Dmitry Geraskov (JIRA)
Mapping diagram couldn't save state if uses inner classes
---------------------------------------------------------
Key: JBIDE-6186
URL: https://jira.jboss.org/jira/browse/JBIDE-6186
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.1.0.GA
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Priority: Critical
Fix For: 3.1.x, 3.2.next
To reproduce create Entity with inner class Id (or use caveat emptor example CategorizedItem$Id).
We need to replace $ in class name before saving it into memento (replace to '.' I guess).
org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createAttribute(Unknown Source)
at com.sun.org.apache.xerces.internal.dom.ElementImpl.setAttribute(Unknown Source)
at org.eclipse.ui.XMLMemento.putString(XMLMemento.java:431)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmShape.setPoint(OrmShape.java:366)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmShape.setPosition(OrmShape.java:395)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmShape.saveState(OrmShape.java:427)
at org.jboss.tools.hibernate.ui.diagram.editors.model.BaseElement.saveState(BaseElement.java:373)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmDiagram.saveState(OrmDiagram.java:602)
at org.jboss.tools.hibernate.ui.view.DiagramEditorInput.saveState(DiagramEditorInput.java:133)
at org.eclipse.ui.internal.EditorHistoryItem.saveState(EditorHistoryItem.java:222)
at org.eclipse.ui.internal.EditorHistory.saveState(EditorHistory.java:152)
at org.eclipse.ui.internal.Workbench.saveState(Workbench.java:2446)
--
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
15 years, 10 months