Apologies for the stupid question. I recently upgraded from version 3.3.1 to 3.6.5 and when I start up my server I get the following warning:
WARN GUIDGenerator - DEPRECATED : use org.hibernate.id.UUIDGenerator instead with custom org.hibernate.id.UUIDGenerationStrategy implementation
The warning is a bit confusing since at no point do I or any of my code impelement or use any sort of Generator or GenerationStrategy. That is all done by hibernate. All I do is use the <generator> element and tell it to use guid. Below is an example of what I use:
Code:
<id name="exampleId" column="example_id">
<generator class="guid"/>
</id>
So my question is, what is the replacement that I stick in the <generator> element that makes this warning go away? I want to play nice with hibernate so I figured I would ask.
Here are the particulars:
DB: MySQL 5.1
Hibernate 3.6.5.GA
JDK: 1.6
Thanks!