[ http://jira.codehaus.org/browse/XDP-88?page=all ]
Konstantin Pribluda resolved XDP-88:
------------------------------------
Resolution: Won't Fix
I close this because there is no concept how to do this, and apparent lack of
interest from persons who raised it. This has been active for too long.
Reopen if you know how to do this.
> 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
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest