[ http://jira.codehaus.org/browse/XDP-88?page=all ]

Konstantin Pribluda reassigned XDP-88:
--------------------------------------

    Assign To: Konstantin Pribluda

> When using hibernate.component, it would really useful if column names for 
> the component's properties are specified in the parent class and not in the 
> component class
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: XDP-88
>          URL: http://jira.codehaus.org/browse/XDP-88
>      Project: XDoclet 2 Plugins
>         Type: Improvement

>   Components: hibernate
>     Versions: 1.0.2
>     Reporter: Ricardo Olivieri
>     Assignee: Konstantin Pribluda
>     Priority: Critical
>      Fix For: 1.0.4

>
>
> 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?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to