[jboss-user] [JBoss Tools] - Invalid Error marker when using Hibernate @Type annotation
cpuffalt
do-not-reply at jboss.com
Thu Jun 14 14:27:31 EDT 2012
cpuffalt [https://community.jboss.org/people/cpuffalt] created the discussion
"Invalid Error marker when using Hibernate @Type annotation"
To view the discussion, visit: https://community.jboss.org/message/741828#741828
--------------------------------------------------------------
We're seeing invalid error markers when using the Hibernate @Type annotation where the type value we're specifying isn't actually a Class name. This looks like a bug in JBoss Tools (I have the new Candidate Release installed).
Sample class:
import javax.persistence.Entity;
import javax.persistence.Id;
import org.hibernate.annotations.Type;
@Entity
public class TestEntity
{
@Id
private Long id;
@Type(type = "yes_no")
private Boolean flag;
}
The error marker states *Type class "yes_no" could not be found.* but this is actually valid.
I did find some similar cases ( https://issues.jboss.org/browse/JBIDE-11364 JBIDE-11364, https://issues.jboss.org/browse/JBIDE-11368 JBIDE-11368) in the bug tracker but not one that discribed this issue exactly. Should I create a bug report for this?
Thanks,
Corey
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/741828#741828]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120614/b74b137c/attachment.html
More information about the jboss-user
mailing list