[JBoss JIRA] (JBIDE-10705) NPE while adding Hibernate mapping files into HB Console Configuration 4.0
by Jiri Peterka (JIRA)
Jiri Peterka created JBIDE-10705:
------------------------------------
Summary: NPE while adding Hibernate mapping files into HB Console Configuration 4.0
Key: JBIDE-10705
URL: https://issues.jboss.org/browse/JBIDE-10705
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 3.3.0.M5
Environment: Linux 64, HSQLDB 1.8
Reporter: Jiri Peterka
Assignee: Dmitry Geraskov
Fix For: 3.3.0.Beta1
java.lang.NullPointerException
at org.hibernate.console.node.ProxyFactory$1.intercept(ProxyFactory.java:48)
at org.hibernate.console.node.ConfigurationEntitiesNode$$EnhancerByCGLIB$$5553939f.checkChildren(<generated>)
at org.hibernate.console.node.BaseNode.children(BaseNode.java:97)
at org.hibernate.console.node.ConfigurationEntitiesNode$$EnhancerByCGLIB$$5553939f.CGLIB$children$6(<generated>)
at org.hibernate.console.node.ConfigurationEntitiesNode$$EnhancerByCGLIB$$5553939f$$FastClassByCGLIB$$17ac8ae1.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at org.hibernate.console.node.ProxyFactory$1.intercept(ProxyFactory.java:46)
at org.hibernate.console.node.ConfigurationEntitiesNode$$EnhancerByCGLIB$$5553939f.children(<generated>)
at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:55)
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)
--
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, 6 months
[JBoss JIRA] (JBIDE-10821) Add context menu for "Add mappings files" action into Hibernate Console context menu
by Jiri Peterka (JIRA)
Jiri Peterka created JBIDE-10821:
------------------------------------
Summary: Add context menu for "Add mappings files" action into Hibernate Console context menu
Key: JBIDE-10821
URL: https://issues.jboss.org/browse/JBIDE-10821
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: hibernate
Affects Versions: 3.3.0.M5
Environment: JBDS 5.0.M5, L64
Reporter: Jiri Peterka
Assignee: Dmitry Geraskov
Fix For: 3.3.0.Beta1
This is rather more enhancement suggestion based on Testday's user feedback. It would be more user friendly if there is "Add mapping files" context menu on Hibernate Console Configuration. Currently there is a tab under Hibernate Console Configuration which is good but if there is particular context menu it would be helpful for new users. Just because users are often "lazy" to ready a documentation and first expectations is to find proper action is some close context menu.
--
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, 6 months
[JBoss JIRA] (JBIDE-12341) JPA: ClassCastException when TypeDef is used
by Dmitry Geraskov (JIRA)
Dmitry Geraskov created JBIDE-12341:
---------------------------------------
Summary: JPA: ClassCastException when TypeDef is used
Key: JBIDE-12341
URL: https://issues.jboss.org/browse/JBIDE-12341
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: hibernate
Affects Versions: 3.3.0.Final
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: 3.4.0.M1
java.lang.ClassCastException: org.jboss.tools.hibernate.jpt.core.internal.resource.java.GenericGeneratorAnnotationImpl cannot be cast to org.jboss.tools.hibernate.jpt.core.internal.resource.java.TypeDefAnnotation
at org.jboss.tools.hibernate.jpt.core.internal.context.java.HibernateJavaTypeDefContainerImpl$TypeDefContainer.buildContextElement(HibernateJavaTypeDefContainerImpl.java:1)
at org.eclipse.jpt.jpa.core.internal.AbstractJpaNode$CollectionContainer.initialize(AbstractJpaNode.java:320)
at org.jboss.tools.hibernate.jpt.core.internal.context.java.HibernateJavaTypeDefContainerImpl.buildTypeDefContainer(HibernateJavaTypeDefContainerImpl.java:121)
--
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, 6 months
[JBoss JIRA] (JBIDE-12348) Java Model Exception in BestGuessConsoleConfigurationVisitor
by Dmitry Geraskov (JIRA)
Dmitry Geraskov created JBIDE-12348:
---------------------------------------
Summary: Java Model Exception in BestGuessConsoleConfigurationVisitor
Key: JBIDE-12348
URL: https://issues.jboss.org/browse/JBIDE-12348
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: hibernate
Affects Versions: 3.3.0.Final
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: 3.4.0.M1
Test case:
1. Right click on some JavaProject
2. New Hibernate Configuration File
3. Select not java project as location for file
4. Newxt
5. Check Create Console Configuration
6. Next
Observe the exception
Java Model Exception: Java Model Status [booking-ear does not exist]
at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(JavaElement.java:495)
at org.eclipse.jdt.internal.core.JavaModelManager.getPerProjectInfoCheckExistence(JavaModelManager.java:2285)
at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo(JavaProject.java:1907)
at org.eclipse.jdt.internal.core.JavaProject.getOutputLocation(JavaProject.java:1734)
at org.hibernate.eclipse.console.wizards.BestGuessConsoleConfigurationVisitor.visit(BestGuessConsoleConfigurationVisitor.java:86)
--
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, 6 months
[JBoss JIRA] (JBIDE-11907) import.sql should warn me if I have multiple lines as it seems hibernate does not like that, or is this is hibernate issue?
by Jim Tyrrell (JIRA)
Jim Tyrrell created JBIDE-11907:
-----------------------------------
Summary: import.sql should warn me if I have multiple lines as it seems hibernate does not like that, or is this is hibernate issue?
Key: JBIDE-11907
URL: https://issues.jboss.org/browse/JBIDE-11907
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Reporter: Jim Tyrrell
For example this line does not work:
insert into Event (id, name, description, major, picture, version) values (2,
'Rock concert of the decade',
'Get ready to rock...',
true,
'http://dl.dropbox.com/u/65660684/640px-Weir%2C_Bob_(2007)_2.jpg',
It also has bad quotes in it, the tool should give you a better error message on that also.
--
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, 6 months