This content has been marked as final.
Show 2 replies
-
1. Re: JPA Oracle Dialect does not support identity key generation??
mulation Jul 16, 2009 10:23 AM (in response to mulation)Have to use Hibernate related annotations
@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
Now, a minor problem is that generated uuid is in lowercase, but anyway, as long as it is still UUID, let it be. -
2. Re: JPA Oracle Dialect does not support identity key generation??
mulation Jul 16, 2009 10:30 AM (in response to mulation)Change
@GenericGenerator(name = "system-uuid", strategy = "uuid")
to
@GenericGenerator(name = "system-uuid", strategy = "guid")
the lower case problem can be solved also!