This is my situation:
I have a class A (this is my component class) that can be part of different entity classes (classes that are persisted by hibernate). Classes B,C, and D (which are my entity classes) can contain one or more instances of class A as a property. Class A, being a component class, is persisted along with its parent class in the same table. The issue I have is that the column names used in the parent classes for the component properties (class A's properties) are different... they are not simply and cannot be the same. For instance, let's say class A has 3 properties. Then, class B might use aaa, bbb, ccc as the column names to persist the three properties of class A while class C might use zzz, yyy, xxx as the column names to persist the properties of class A. So, speciying the column names in class A does not work for me. Note that the prefix parameter of the hibernate.component tag does not help in this case. I would need a way to define the column names for the properties of class A in the parent class along with the hibernate.component tag.
Is this a change that could be made to the hibernate plugin? If so, how long would it take?