Here are the templates with the changes I've done to them so
     Hibernate XDoclet module support some "inheritable" tags as
     Ara suggested.

     See changes.txt for list of changes and some notes.

     This is working so far for me now, but it is NOT well tested.

Friday, December 27, 2002, 6:33:36 AM, escribiste:


KP> --- Gavin King <[EMAIL PROTECTED]> wrote:
>> 
>> This is a known limitation of the current Hibernate
>> XDoclet 
>> module. Now, I think XDoclet can support remote
>> methods defined
>> on superclasses in its ejb module, so it must be
>> possible to
>> add support for persistent properties defined on
>> superclasses
>> to the Hibernate module.
>> 
>> Anyone know how to attack this problem?

KP> This module is merely 2 weeks old, and in no way
KP> mature. Maybe not even alpha :) You are welcome to
KP> make
KP> proposal how it could be made better. 
KP> I know a lot over xdoclet stuff ( and I'm somehow in
KP> charge of developing this module ), but not a lot 
KP> about hibernate ( I'm learning )

KP> I suggest you to add enhancement issue into JIRA
KP> ( xdoclet bug/feature tracking system):

KP> http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jspa

KP> BTW Gavin, it's better than sourceforge one,
KP> and atlassian people are hosting open source projects
KP> for free.

KP> regards,

KP> =====
KP> Konstantin Priblouda ( ko5tik )    Freelance Software developer
KP> < http://www.pribluda.de > < play java games -> http://www.yook.de >
KP> < render charts online -> http://www.pribluda.de/povray/ >

KP> __________________________________________________
KP> Do you Yahoo!?
KP> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
KP> http://mailplus.yahoo.com


KP> -------------------------------------------------------
KP> This sf.net email is sponsored by:ThinkGeek
KP> Welcome to geek heaven.
KP> http://thinkgeek.com/sf
KP> _______________________________________________
KP> hibernate-devel mailing list
KP> [EMAIL PROTECTED]
KP> https://lists.sourceforge.net/lists/listinfo/hibernate-devel



-- 
Saludos,
 Pablo                            mailto:[EMAIL PROTECTED]

Attachment: hibernate-properties.xdt
Description: Binary data

Attachment: hibernate.xdt
Description: Binary data

Attachment: hibernate-composite-element.xdt
Description: Binary data

This are the changes I made to make Hibernate XDoclet module support "inheritable" tags

In hibernate.xdt:

    superclasses="true" for:
        - forAllMethods with tag hibernate.id
        - forAllMethods with tag hibernate.version
        - forAllMethods with tag hibernate.timestamp
    
    I left on purpose this tags not to be inheritable since it seems to not make sense 
or be error prone:
        - forAllClassTags   hibernate.query
        - ifHasClassTag     hibernate.discriminator
    
In hibernate-properties.xdt:

    superclasses="true" for:
        - forAllMethods
        
In hibernate-composite-element.xdt:
    
    superclasses="true" for:
        - forAllMethods
        
    I'm not sure about the correctness or convenience of this last change.
    
So far this changes seem to be working (for me).
I must warn that this is NOT well tested.

Reply via email to