Hi, I'm rather confused by the way how OgmIdentityGenerator, OgmSequenceGenerator and OgmTableGenerator interact.
Basically, the first two just delegate to the latter. Now intuitively I'd have expected an exception when explicitly using a generation type not supported on a given datastore, say @GeneratedValue(strategy = GenerationType.SEQUENCE) on MongoDB. But as we always delegate to the table strategy, such exception is not raised. Also several attributes of generator annotations are ignored; E.g. naturally@SequenceGenerator.sequenceName(), but also @TableGenerator.valueColumnName. What has been the motivation behind this design? I guess a change to GridDialect may be required for making explicit which strategies are supported on a given backend. Thanks, --Gunnar _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev