Fabio Cepeda

Posts Tagged ‘collection tables

I develop a web application using appfuse, springframework, and hibernate, MySQL . I had the following situation:
I needed to persiste a collection of unique integers for an object. Where the primary Id of the collection table was the primary key of the table mapped by Contacto.
public class Contacto implements java.io.Serializable {
private Integer contactoId; //Primary [...]