I am using mySQL and hibernate. I am using auto_imcrement on a column in mySQL (the column is the primary key) and I'm trying to tell hibernate to point the generator at column as the unique ID and I'm not sure how to write the generator.
Should I use class = "native" or class = "sequence" or "identity" or "hilo" or something else?
From the documentation, it seems I should use "identity" but when using identity I get the error: Dialect does not support identity key generation. What am I missing? thanks!
[ August 20, 2004: Message edited by: Tim McGuire ]
[ August 20, 2004: Message edited by: Tim McGuire ] [ August 20, 2004: Message edited by: Tim McGuire ]