FaKod/JPA-for-Scala — Issue #1: Handle Enumerations
Author: ltackmann
Created: 2011-11-16 00:54:54+00:00
State: open

I would be great if you could bundle a extension or sugar method that can handle mappings between scala enumerations and JPA enums i.e.

object UserType extends Enumeration {
type UserType = Value
val CUSTOMER = Value("Customer")
val EMPLOYEE = Value("Employee")
}

cannot currently be mapped directly using @Enumerated