2 @TypeDef(name = "genderType",
3 defaultForType = Gender.class,
4 typeClass = EnumUserType.class,
5 parameters = @Parameter(name = "enumClassName",
6 value = "de.test.schemaexport.domain.Gender"))
8 package de.test.schemaexport.domain;
10 import de.test.schemaexport.domain.EnumUserType;
11 import org.hibernate.annotations.Parameter;
12 import org.hibernate.annotations.TypeDef;
13 import org.hibernate.annotations.TypeDefs;