]
Sharath Reddy updated ANN-820:
------------------------------
Attachment: ANN-820.patch
Attached patch along with test case
TypeDef does not work when used on @Embeddable or @MappedSuperClass
classes.
----------------------------------------------------------------------------
Key: ANN-820
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-820
Project: Hibernate Annotations
Issue Type: Bug
Components: binder
Affects Versions: 3.4.0.GA
Environment: Oracle 11, hibernate 3.4.0 GA
Reporter: Ted Bergeron
Attachments: ANN-820.patch
@TypeDefs({
@TypeDef(
name = "status",
typeClass = EnumUserType.class,
parameters = {@Parameter(name = "enumClass", value =
"com.acme.common.model.Status")}
)
})
I declare various @TypeDefs such as this. They all work fine when used in @Entity
classes. When used in a @MappedSuperclass, or an @Embeddable, they fail.
I see from the docs that these are global and double checked that I do not have any
duplicate @TypeDef definitions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: