Hi,
I am trying to create a CompositeUserType for an Entity that can have customisable column names. The customisable column names are placed in a Map within the Entity, and treated as a CompositeUserType. It works if I can given the column names also within the hbm file, else it throws wrong number of columns exception. My problem is that the correct number of columns will be known only at runtime. Any help on how I can overcome this issue will be much appreciated.

Thanks, Anna