Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 07/Feb/13 6:48 AM
Description:

OgmTableGenerator (used for sequence generation) does pass a RowKey made of the table name (hosting sequences), column name of the sequence identifier (in this table) and the column value corresponding to the sequence identifier

Default values are:

  • table name: hibernate_sequences
  • sequence id name: sequence_name
  • sequence id value: default

OgmTableGenerator also defines the column name where the sequence value should be stored. Default value for that column is next_val.

Should GridDialect.nextValue pass along the column name informations so that the dialect could reuse the same names?
Today MongoDB uses _id for the sequence id name and MongoDBDialect.SEQUENCE_VALUE for the sequence value column name.
Likewise, Neo4J uses ad-hoc column name for the sequence id and sequence value
Neo4jSequenceGenerator.ID_SEQUENCE_PROPERTY and Neo4jSequenceGenerator.VALUE_SEQUENCE_PROPERTY.

Project: Hibernate OGM
Priority: Minor Minor
Reporter: Emmanuel Bernard
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira