-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
None
One MongoDB dialect idiosyncrasy. The following Entity pattern should work as expected:
@Entity
class Book {
@Id @GeneratedValue
@ObjectIdGenerator
ObjectId id;
}
in line with Hibernate's `@UuidGenerator` pattern, so user doesn't need to assign an ObjectId value when creating an entity with `Objectid` as the `@Id` annotated primary key Java type.
- depends on
-
HIBERNATE-23 ObjectId type mapping
-
- Closed
-
- links to