Juan Manuel Saad

Greenhorn
+ Follow
since Dec 07, 2014
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Juan Manuel Saad

I want to have fixed values for some fields on my DB, so I declared enums and I want to map them into the DB with that fixed values. What is the best solution for that?

Right now I've coded this (it doesn't work)

My table in the DB:



POJO Class:



My enum class:



if you have some other ideas that will work better, please teach me how I'm new at hibernate!

Thanks in advance!