Fabio Cepeda

Archive for February 2008

Java 5 enum types Mysql, Hibernate, Spring

Posted by: fcepeda on: February 12, 2008

Doubt:
I develop a java web application that uses a lot of type objects. For example, Object Visit has a property state that could be Programmed, Done, Cancelled, etc… The current solution for this is to have a table in the DB representing the state of the visit and a FK from the table visit to [...]