Re: Still no luck with @composite-id

Konstantin Priblouda <kpriblouda-/[email protected]> Mon, 7 Apr 2008 23:11:55 -0700 (PDT)
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
--- Mark Sobkow <[email protected]> wrote:

> I downloaded the source code for XDoclet2 1.0.4 to
> get access to the test
> code.  Based on that I created a couple of sample
> beans for testing, but I
> get an error:
> 
> BUILD FAILED
>
F:\work\eclipse-3.1.2-workspace\Experimental\xdoclet2-build.xml:38:
> org.generama.OutputValidationError:
>    Line: 7 Column: 68
>    Message: The content of element type
> "composite-id" is incomplete, it
> must match
> "(meta*,(key-property|key-many-to-one)+)".
> 
> This is the same problem I'd had with earlier
> attempts to use the composite
> ids.
>

Just lok at watis generated,  and compare it with
DTD.  IN any case - composite key class does not need
( shall not) contain @hibernate.class. 

It is notpersistent entity.

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone