Hi,
I am quit new in the hibernate business, and I would like to know about good strategies to deal with persistence of a class that looks something like this:
Code:
public class Property<T> implements java.io.Serializable {
private long id;
private int version;
protected String propertyName;
protected T value;
I might be wrong, but I'm quite sure that you cannot duplicate the parameterized type mechanism
T value in a single table column.
My objective is to be able to store primitive types in the
T value or any other objects. (like ImageIcon for example)
I would appreciate any ideas\thoughts\answers.
Thanks,
Yaniv
Hibernate version:3
Name and version of the database you are using:MySQL