db4o Blogs

db4o News

A new feature for client/server -- batching asychronized messages on the client

A new feature batching asynchronous messages for client/server mode is introduced in latest svn code.  The client will hold asynchronous messages until commit/rollback/or any other synchronized messages. It's user transparent, and easy to configure. To experience batched messages mode, please: 1. check out latest svn code. 2. configure batched mode -- oc.configure().clientServer().batchMessages(true); 3. configure maxBatchQueueSize if you'd like. Noted that batching messages will consume more memory than non-batched mode. To control memory cosumption, db4o provides configuration for maximum queue size. If the queued messages is greater than maxBatchQueueSize, all batched messages are flushed to the server. Using oc.configure().clientServer().maxBatchQueueSize(maxSize) to configure it. It's supposed to improve the performance of some operations, like inserting new objects to database. Please take a try and give us your feedback. Your suggestions/comments/thoughts are highly appreicated! Thanks in adavan ...

Read the rest of entry »

Newsletter #27 - db4o Version 6.0 Production-Ready

Welcome to the January newsletter!db4o Version 6.0 Released as Production-ReadydOCL, the New db4o Open Source Compatibility LicenseCongratulations to Additional dVPs 2007New Customer: Syft Technologiesdb4objects Partners with Persistent Systems SEASON GREETINGS! db4objects wishes you a very happy holiday season. We greatly value your contributions over the last year and are looking forward to a very exciting 2007 year of joint successes! K U D O    O F    T H E    M O N T H "Object databases... I had no idea they were so useful and simple to use. Just imagine, db4o is just one dll! Read it again. It's just one simple dll; no setup or configuration or management or anything. Portable efficient storage of data. That's how the whole of IT should be."                 --Orbifold, 12/1/2006 A R T I C L E S   -- db4o VERSION 6.0 RELEASED AS PRODUCTION READY -- db4o Version 6.0 is now available as a production-ready version for download from the db4o ...

Read the rest of entry »

Schema Evolution Via ObjectManager

This is just a heads up to let people know about a nice new feature for ObjectManager, schema evolution via the GUI. Now if you open the Class Summary Panel, you can click the Edit button to rename the fields and create/drop indexes on the fields.

No need to write little programs to do this anymore!

This will be available in the next ObjectManager release, stay tuned...

Db4o++

A few days ago, I've played a little bit with the last version of the managed extensions of Visual Studio 2005 for C++, formerly known as C++/CLI. I'm not a C++ developer, and I'm mostly not fond of the language itself, but I've found that the CLI integration is really nice. At least when you compare it to the old MC++ shipped with Visual Studio 2003. The syntax is pretty clean, and I managed to write a little sample using db4o in a few minutes.Here is the first version of this sample:#include "stdafx.h"#include "Person.h"using namespace System;using namespace Db4objects::Db4o;using namespace Db4objects::Db4o::Query;bool IsOverTwenty(Person ^p){  return p->Age >= 20;}int main(array ^args){  String ^file = "db4ocpp.yap";  if (File::Exists(file)) File::Delete(file);  IObjectContainer ^db = Db4oFactory::OpenFile(file);  db->Set(gcnew Person("jbe", 23));  db->Set(gcnew Person("ana", 19));  for each (Person ^p in db->Query(Person::typeid))  {    Console::WriteLine(p);  }  for each (Person ^p in db->Query(gcnew Sys ...

Read the rest of entry »