On Sun, 2003-10-26 at 18:20, Samuel Cheung wrote: > 2. How to generate the column mapping for id in my <class>.cfg.xml > file, like this in the hibernate 'Cat' example: > <id name="id" type="string" unsaved-value="null" > > <column name="CAT_ID" sql-type="char(32)" not-null="true"/> > <generator class="uuid.hex"/> > </id> > > I try putting in the xdoclet tag in my Cat.java, but the column > mapping does not generate > > /* @hibernate.id generator-class="uuid.hex" column="CAT_ID" > unsaved-value="null" > * @hibernate.column name="CAT_ID" sql-type="char(32)" not-null="true" > <-- this is missing. > */
Perhaps you should try using "/**" for javadoc comments instead of just "/*"... Andrew. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
