implement enum for oracle
work around taken from http://stackoverflow.com/questions/5057645/enum-in-oracle