[jbosstools-issues] [JBoss JIRA] (JBIDE-13199) CLONE - Invalid Error marker when using Hibernate @Type annotation
Jiri Peterka (JIRA)
jira-events at lists.jboss.org
Thu Nov 29 10:50:21 EST 2012
Jiri Peterka created JBIDE-13199:
------------------------------------
Summary: CLONE - Invalid Error marker when using Hibernate @Type annotation
Key: JBIDE-13199
URL: https://issues.jboss.org/browse/JBIDE-13199
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Reporter: Jiri Peterka
Assignee: Denis Golovin
Fix For: 3.3.2, 4.0.0.Alpha1
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:
{code}
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;
}
{code}
The error marker states 'Type class "yes_no" could not be found.' but this is actually valid.
I did find some similar cases (JBIDE-11364, JBIDE-11368) in the bug tracker but not one that described this issue exactly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list