[jboss-user] [EJB 3.0] - Enum as ID

rajuanye do-not-reply at jboss.com
Sun Feb 4 05:12:20 EST 2007


 I want to map a table when ID is also an Enum:
code example:
	@Id
	@Column(name="Parameter_Name")	
	@Enumerated (value=EnumType.STRING)

I get :
org.hibernate.type.SerializationException: could not deserialize

what should I do ,that I will have ID which is also an enum

thanks in advance :)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010750#4010750

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010750



More information about the jboss-user mailing list