It must accept @hibernate.key-many-to-one tag (As I see in sources from HEAD). 

Try this 

class MyCompositeId {
  /**
  * @hibernate.key-many-to-one
  */
  private CompositeBean
}

What is the result *.hbm.xml file. Could you post here?

On 5/18/05, Piersanti Hernandez Jose Gregorio
<[EMAIL PROTECTED]> wrote:
> Thanks, it�s work except for one thing .... one of them is an object and it 
> doesn�t accept "@hibernate.key-many-to-one" tag ... what can I do??
> 
> Regards.
> 
> Jos� Piersanti
> 
> -----Mensaje original-----
> De: Konstantin Priblouda [mailto:[EMAIL PROTECTED]
> Enviado el: mi�rcoles, 18 de mayo de 2005 16:12
> Para: [email protected]
> Asunto: Re: [xdoclet-user] Xdoclet composite-id
> 
> 
> --- Piersanti Hernandez Jose Gregorio
> <[EMAIL PROTECTED]> wrote:
> > Hi, do u have an example of the use of the tag
> > @hibernate.composite-id tag?? I have two properties
> > that compose the primary key of my entity and I was
> > unable to map it ...
> 
> look into test cases - thea are working samples.
> 
> regards,
> 
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> ... Auf der Suche nach einen Projekt in Rhein-Main
> ab 18.4.2005
> ----[ http://www.pribluda.de ]------------------------
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 


-- 
anatol

Reply via email to