Neodatis object DB / DataNucleus - How are indicies defined?
How do I define fields that I know I will be querying on to be indexed using Neodatis Object Database under DataNucleus?
The @Index annotation appears to only app开发者_运维技巧ly to ORM for relational databases by my understanding.
Just read the code http://datanucleus.svn.sourceforge.net/viewvc/datanucleus/platform/store.neodatis/trunk/src/java/org/datanucleus/store/neodatis/NeoDatisStoreManager.java?revision=9380&view=markup where you can see "IndexMetaData" being used.
精彩评论