Hi Frank,
Thanks for the reply.
These are the XDoclet tags relating to idbag from my
source code:
     * @hibernate.idbag table="register" 
     * @hibernate.collection-id column="registerID"
generator-class="native" type="long"
     * @hibernate.key column="studentID"
     * @hibernate.collection-composite-element
class="Register"

        public List getDisciplines() {  
        return disciplines;
       }

I read XDoclet document built from cvs and saw that
only column and type tags are required at
@hibernate.collection-id.


Hung

--- Frank Adcock <[EMAIL PROTECTED]> wrote:

> Hi Hung,
> 
> Perhaps you might like to show us your actual
> XDoclet tags.
> 
> You are obviously missing one of the required ones.
> 
> Regards
> Frank
> 
> On 27/09/2005, at 2:02 PM, Hung Vu wrote:
> 
> > Hi,
> >     I want to use idbag xdoclet tag in my project
> > relating to Hibernate so I downloaded xdoclet cvs
> from
> > http://xdoclet.sourceforge.net/xdoclet-cvs.zip and
> > built it successfully.
> >    I had the following error:
> >  (XDocletMain.start                   61  )
> > <<Generated file [file:C:/testproject/model/Stu
> > dent.hbm.xml:line 28] Message=[The content of
> element
> > type "collection-id" is in
> > complete, it must match
> "(meta*,column*,generator)".]
> > is not valid according to
> > its DTD or XML Schema. This might be due to some
> > missing tags in your source.>>
> > org.xml.sax.SAXParseException: The content of
> element
> > type "co
> > llection-id" is incomplete, it must match
> > "(meta*,column*,generator)".
> >
> >     I implemented all the required tags for
> > "collection-id" such as column, generator-class,
> type
> > but I still had this error.
> >
> > Thanks for any helps,
> > Hung
> >
> >
> >             
> > __________________________________
> > Yahoo! Mail - PC Magazine Editors' Choice 2005
> > http://mail.yahoo.com
> >
> >
> >
>
-------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's
> Geronimo App Server.
> > Download it for free - -and be entered to win a
> 42" plasma tv or your 
> > very
> > own Sony(tm)PSP.  Click here to play: 
> > http://sourceforge.net/geronimo.php
> > _______________________________________________
> > xdoclet-user mailing list
> > [email protected]
> >
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 
> 
>
-------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's
> Geronimo App Server. 
> Download it for free - -and be entered to win a 42"
> plasma tv or your very
> own Sony(tm)PSP.  Click here to play:
> http://sourceforge.net/geronimo.php
> _______________________________________________
> xdoclet-user mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to