Login Form






Lost Password?
No account yet? Register

 
Powered by ASM
 
java.jpg 
Home arrow Search
JODB v2.0 Betta Print E-mail
Written by JODB Master   
Wednesday, 08 August 2007
New version is now available in Downloads section. I have decided to discontinue 1.x line due to significant changes in new version. Major improvements include indexing support for primitive type fields to maximize query performance.  To activate or deactivate indexing for certain field, you would require to execute following API calls:


// assuming
class Foo{
    int val1;
}
...
JODBSessionContainer sessionContainer = (JODBSessionContainer) JODB.open("testFile");
sessionContainer.configureIndex(Foo.class, "_val1", true); // change last parameter to false if you want to deactivate index
...



Once enabled the index will persist in database until call sessionContainer.configureIndex(Foo.class, "_val1", false) is issued to drop the index.
 
< Prev   Next >
 
Copyright © 2010 Mobixess Inc.