[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
12 years
[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
12 years
[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
12 years