Example of usage:
// OPEN THE DATABASE
ODatabaseDocumentTx db = new ODatabaseDocumentTx("remote:localhost/petshop").open("admin", "admin");
// CREATE A NEW DOCUMENT AND FILL IT
ODocument doc = new ODocument("Person");
doc.fIEld( "name", "Luke" );
doc.fIEld( "surname", "Skywalker" );
doc.field( "city", new ODocument("City" ).field("name","Rome").fIEld("country", "Italy") );
// SAVE THE DOCUMENT
doc.save();
// QUERY THE DOCUMENT
List<ODocument> result = database.query(
new OSQLSynchQuery>("select * from person where city.name = 'Rome'")).execute();
// PRINT THE RESULT SET
for( ODocument d : result ){
System.out.println("Person: " + d.field( "name" ) + d.fIEld( "surname" ));
}
db.close();
Deeply scalable Document based DBMS. It's the basic engine of all the Orient products. It can work in schema-less mode, schema-full or a mix of both. Supports advanced features, such as ACID transactions, indexing, fluent and SQL-like querIEs. It handles natively JSON and XML documents.
Main features:
* Extremely light: less than 400Kb for the full server.
* Run on any platform: All the engine is 100% pure Java and can run on Windows and Linux and any system that supports the Java5+ technology
* Super fast: On common hardware* stores up to 150.000 (one-hundred-fifty-thousands) records per second, 13 billions per day.
* Transactional: Compliant with ACID tests, supports Optimistic (MVCC) and Pessimistic transaction modes
* Local mode: Direct Access to the database bypassing the Server. Perfect for scenariOS where the database is embedded.
* Easy Java APIs: Learn how to use it in 15 minutes.
Changes:
1. adds a new Database structure,
2. integrates logical clusters well at the storage level,
3. improves OrientDB Studio with authentication, users, roles, clusters, db and... server propertIEs, etc.,
4. adds new User and Role management,
5. adds more flexible management of types in ODocument instances,
6. supports HTTP basic authentication,
7. fixes some bugs in concurrency with a high number of clIEnts
OrIEntDB 0.9.14下載地址:http://code.google.com/p/orIEnt/downloads/list