It looks like its generating code for version 2, add the property "hibernateVersion" with a a value of 2:
<property name="hibernateVersion">2</property> in your default namespace (in the mda/conf/namespace.xml) and it'll generate for 3. You'll also need to change the following as well: any references of "net.sf.hibernate" to "org.hibernate" and any references of "org.springframework.orm.hibernate" to "org.springframework.orm.hibernate3" (search in your project to find these). Thats why you might want to take the latest maven-andromdapp-plugin and just change the dependencies in the project.xml of that jar to 3.1-M1 (all these things are taken care of in there). -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1811#1811 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user