int flags = Db.DB_CREATE | Db.DB_AUTO_COMMIT;
// Create the Serial class catalog. This holds the serialized class
// format for all database records of format SerialFormat.
//
javaCatalog = new StoredClassCatalog(env, CLASS_CATALOG, null, flags);
// Create the data formats. In this example, all key formats are
// TupleFormat and all value formats are SerialFormat. Note that
// entity (combined key/value) classes are used for the value
// formats--for details see the bindings in the SampleViews class.