[
https://issues.jboss.org/browse/JBIDE-8074?page=com.atlassian.jira.plugin...
]
Vitali Yemialyanchyk commented on JBIDE-8074:
---------------------------------------------
diagram was not shown, cause Hibernate throws HibernateException not MappingException as
expected... now diagram should open correctly, but with exception in error log, with no
information about the type, which was a reason of exception -> it is possible to
display information about the type, JBIDE-8084 was created and intended to fix the
problem.
ClassNotFoundException for enum at Mapping diagramm occurs with enum
inside composite primary key
-------------------------------------------------------------------------------------------------
Key: JBIDE-8074
URL:
https://issues.jboss.org/browse/JBIDE-8074
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.2.0.CR1
Environment: plugin version: Hibernate Tools 3.4.0.v20110107-0119-H22-CR1
windows xp, java VM ver jdk1.6.0_21, eclipse helios:
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810\eclipse_1309.dll
-startup
C:\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-product
org.eclipse.epp.package.jee.product)
Reporter: Jacek Grzebyta
Assignee: Vitali Yemialyanchyk
Priority: Critical
Labels: enum, find, findClassInternal, internal
Fix For: 3.2.0.CR1
Attachments: error_message.txt, OrganismRoleId.java,
OrganismRoleInReferenceSystemProcess.java, phibase-database.cfg.xml-F
I created quite complex case. The table has composite primary key which contains:
2xforeign key + enum type. Also the same column is called again in @Entity class with
parameters: nullable=false, updatable=false, insertable=false. I can get a mapping diagram
with a simple case where a table has just normal pri. key and an enum is in the @Entity.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira