[
https://issues.jboss.org/browse/JBIDE-11368?page=com.atlassian.jira.plugi...
]
Dmitry Geraskov commented on JBIDE-11368:
-----------------------------------------
Thanks, Jiri, you are right there is a difference between this issue and linked. Here we
have:
PersistentDateTime extends EnhancedUserType.
EnhancedUserType is not in class path and so we can't know if it is implements one of
the required interfaces. So we show error marker. In the linked issue we know that the
EncryptedStringType implements UserType through it's superclass.
Here is a question of behaviour: should we show error for such situations or
"hope" that the class hierarchy is correct.
false error with hibernate annotations Type:
---------------------------------------------
Key: JBIDE-11368
URL:
https://issues.jboss.org/browse/JBIDE-11368
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Reporter: John Franey
Assignee: Dmitry Geraskov
Fix For: 3.3.0.Beta3
Attachments: eclipse.config, jpa-problem.zip
The false error comes when the hibernate core is excluded from project's classpath.
Type class "org.jasypt.hibernate.type.EncryptedStringType" should implement one
of interfaces
"org.hibernate.type.Type","org.hibernate.usertype.UserType",
"org.hibernate.usertype.CompositeUserType",
"org.hibernate.usertype.UserCollectionType". Order.java /jpa-problem/src/main/java/org/sample line
19 JPA Problem
Type class "org.joda.time.contrib.hibernate.PersistentDateTime" should
implement one of interfaces
"org.hibernate.type.Type","org.hibernate.usertype.UserType",
"org.hibernate.usertype.CompositeUserType",
"org.hibernate.usertype.UserCollectionType". Order.java /jpa-problem/src/main/java/org/sample line
39 JPA Problem
Also attached is help->about eclipse->installation details->configuration
--
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