What is the contents of your hibernate.properties file (or hibernate.cfg.xml file) and in what directory did yout place it? Also, how did you create/instantiate the SessionFactory?
Regards, David -----Original Message----- From: Mario St-Gelais [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 9:15 PM To: [EMAIL PROTECTED] Subject: Struts and Hibernate Ok for half the day now I have been trying to make a small application with Hibernate as I am trying to learn it so I can use it with Struts. I tried an exemple application shown at http://homepage.mac.com/edahand/projects/java/example1.html but I keep getting an error message : net.sf.hibernate.MappingException : Dialect does not support identity key generation. I run Tomcat 5.0.19 . MySQL, Struts 1.1. Any help would be graceful. -- _________________ Mario St-Gelais "Good judgment comes from experience- usually experience which was the result of poor judgment" Bill Putnam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]