I'd like to use Java constants (public static final) to be able to make comparisions like myProcess.getState.equals(ProcessState.CLOSED), but I'd also like them to be in the database. In my example, I'd have a ProcessState table which would have every possible state.
Does Spring + Hibernate support that database initialization somehow?


Reply With Quote