-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Package attribute or full class names with xdoclet?
PostPosted: Wed Oct 06, 2004 12:54 pm 
Beginner
Beginner

Joined: Tue Sep 21, 2004 4:04 pm
Posts: 25
Location: Oldsmar, FL
Is there a way to get xdoclet to add the package attribute to the hibernate-mapping element?
Or do I need to specify the full class name in the @hibernate.collection-one-to-many class="" entry.

Here the set in the parent class, the child "Thingy" is in the same package as the parent so I'd should (?) be able to say class="Thingy" like below.
But xdoclet isn't putting the package= attribute in the hibernate-mapping so this doesn't work because "Thingy" isn't fully qualitied class name.

Code:
    /**
     * @hibernate.set
     * inverse = "true"
     * lazy = "true"
     * cascade = "all"
     * @hibernate.collection-key
     * column = "thingySetId"
     * @hibernate.collection-one-to-many
     * class = "Thingy"
     */
    public Set getThingys()
    {
        return thingys;
    }


So, is there a way to get xdoclet to add the package attribute?
Or, are you required to give a fully qualified class name?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.