[hibernate-issues] [Hibernate-JIRA] Commented: (OGM-172) Create indexes for identifier columns that are not '_id' in mongodb datastore

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon May 7 10:29:09 EDT 2012


    [ https://hibernate.onjira.com/browse/OGM-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46551#comment-46551 ] 

Emmanuel Bernard commented on OGM-172:
--------------------------------------

A pseudo example of datastore reading column information is the class DatastoreProviderGeneratingSchema in the tests

> Create indexes for identifier columns that are not '_id' in mongodb datastore
> -----------------------------------------------------------------------------
>
>                 Key: OGM-172
>                 URL: https://hibernate.onjira.com/browse/OGM-172
>             Project: Hibernate OGM
>          Issue Type: Improvement
>          Components: datastore
>            Reporter: Emmanuel Bernard
>
> At DatastoreProvider bootstrap we could make sure indexes exist or otherwise create them for all columns involved in a lookup. ie the identifier columns for entities, associations and sequences.
> This is related to OGM-156 and arguably a better approach.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list