Looks like Mitch is working with Hibernate 1.2 (given it is "production code" and Hibernate 2 is still in beta), and Jesper is working with Hibernate 2.
The generator parms definitely changed for Hibernate 2. Here's a snippet from the Wiki doc: Hibernate2 features substantial redesign in the following areas - id generator framework - configuration APIs - interceptor callbacks - collections - package organization and naming - exception model along with - changes to the mapping document format and default attribute values - a number of cool new features I do not think the Xdoclet Hibernate tasks have been updated yet. A post on this forum a few weeks ago indicated this task was starting up - but I have not seen any further posts. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 1:07 PM To: [EMAIL PROTECTED] Subject: RE: [Xdoclet-user] hibernate and generator-class-param-1 Your javadoc is directly before the getter method, just like my example? I can only say "it works for me" ... I cut-n-pasted that from running production code, and the XML file generated by Xdoclet. Please cut-and-paste your real Java code including Javadoc, the XML bits that were generated, and your Ant script and maybe I can help figure out what's going on. [snip] > well, my problem is that the DTD (hibernate 2) specifies that > the "name" attribute on the param tag > is mandatory.. in the example below the param tag syntax is correct.. > > <id name="myKey" column="X_PK"> > <generator class="sequence"> > <param name="sequence">seq</param> > </generator> > </id>
<<attachment: winmail.dat>>
