John Franey [https://community.jboss.org/people/jjfraney] created the discussion
"org.hibernate.annotations.Type and jboss tools" To view the discussion, visit: https://community.jboss.org/message/725094#725094 -------------------------------------------------------------- With jboss tools in eclipse I get the following false errors when I annotate using hibernate's TypeDef and Type annotations. Code: @TypeDef(name="encryptedPassword", typeClass=org.jasypt.hibernate.type.EncryptedStringType.class, parameters = { @Parameter(name="password", value="blah blah blah.") }) Error: | Description | Resource | Path | Location | Type | | 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". | zzzz.java | /xxxx/src/main/java/... | line 91 | JPA Problem | Class Hierarchy: jasypt's EncryptedStringType extends jasypt's AbstractEncryptedAsStringType which implements hibernate's UserType. Code: @Type(type="org.joda.time.contrib.hibernate.PersistentDateTime") private DateTime startTime; | Description | Resource | Path | Location | Type | | 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". | yyyy.java | /xxxxx/src/main/java/xxx | line 172 | JPA Problem | Class Hierarchy: joda time's PersistentDateTime implements hibernate's EnhancedUserType which extends UserType. What am I doing wrong? jboss by redhat, Hibernate tools: 3.4.0v20120307-2104-H60-Beta1 jboss by redhat, jboss as tools: 2.3.0.v20120308-1629-H87-Beta1 Indigo Service Release 2 Build id: 20120216-1857 -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/725094#725094] Start a new discussion in JBoss Tools at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
