[JBoss JIRA] (JBIDE-11641) Support for Hibernate 3.2.4 in JBoss Tools 3.7.2
by Jochen H (JIRA)
Jochen H created JBIDE-11641:
--------------------------------
Summary: Support for Hibernate 3.2.4 in JBoss Tools 3.7.2
Key: JBIDE-11641
URL: https://issues.jboss.org/browse/JBIDE-11641
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: hibernate
Affects Versions: LATER
Environment: MacOS X 10.7.3
Eclipse Indigo
Reporter: Jochen H
Assignee: Dmitry Geraskov
Priority: Minor
I'm trying to use the HQL editor (by using the Hibernate perspective).
When I load the editor, I'm getting following error:
org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn: ##my class##
at org.hibernate.cfg.annotations.CollectionBinder.bind(CollectionBinder.java:476)
at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1906)
at org.hibernate.cfg.AnnotationBinder.processIdPropertiesIfNotAlready(AnnotationBinder.java:769)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:733)
at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:636)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:359)
at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1206)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter$1.execute(ConsoleConfigurationWorkbenchAdapter.java:45)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:107)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:41)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
My annotation on that class are looking like this:
@OneToMany(mappedBy = "XYZ", cascade = CascadeType.ALL)
@JoinColumn(name = "XYZ_id", nullable = false)
So I guess this is not the correct syntax, but it works with Hibernate 3.2.4. But I'm unable to select Hibernate version: 3.2.x :-(.
Any fix on this one?
--
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
13 years, 11 months
[JBoss JIRA] (JBIDE-11237) Error message changes when newly created application does not respond
by Lucia Jelinkova (JIRA)
Lucia Jelinkova created JBIDE-11237:
---------------------------------------
Summary: Error message changes when newly created application does not respond
Key: JBIDE-11237
URL: https://issues.jboss.org/browse/JBIDE-11237
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: openshift
Affects Versions: 3.3.0.Beta1
Reporter: Lucia Jelinkova
Assignee: Andre Dietisheim
Priority: Minor
Fix For: 3.3.0.CR1
Some changes for an error message displayed when the OpenShift wizard fails to get response form newly created application:
# Remove apostrophes ' and "..." from _'Creating application "abc"...'_
# The apostrophes are missing in the error message details
# _Could not create application "app"_ can be left out from detail since it is in the main error message
# Sentence beginning with _We werent able to lookup_ does have an empty space before the first word.
# Sentence _If you cant get your application running in the browser, you can also try destroying and recreating the application as well using this Wizard._ is not acutal any more since you cannot destroy the application from wizard any more. Change it for example to: _If you can't get your application running in the browser, you can try destroying and recreating the application using OpenShift Express Console view._
--
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
13 years, 11 months