`Single Proxy for a Whole Collection` problem

2004-01-08 Thread Andrei Ivanov
Hello, I've created a mapping like this: class-descriptor class=com.ines.flanco.model.ProductTO table=products field-descriptor name=id column=id jdbc-type=INTEGER nullable=false primarykey=true

RE: `Single Proxy for a Whole Collection` problem

2004-01-08 Thread oliver . matz
Hello, public class ProductTO implements java.io.Serializable { protected int id; protected String name; protected Vector symbols; 'Vector' is not a good idea. You should use an interface type such as Collection or List for the type declaration ... getters and setters...

RE: `Single Proxy for a Whole Collection` problem

2004-01-08 Thread oliver . matz
Hello, -Original Message- From: Andrei Ivanov [mailto:[EMAIL PROTECTED] I see here http://java.sun.com/j2se/1.4.2/docs/api/java/util/Vector.html that Vector implements the List interface, and I used Vector because it's that means that you can assign a Vector to a field of type