// special binding class is needed.
//
ClassCatalog catalog = db.getClassCatalog();
SerialBinding partKeyBinding =
new SerialBinding(catalog, PartKey.class);
EntityBinding partDataBinding =
new PartBinding(catalog, PartKey.class, PartData.class);
SerialBinding supplierKeyBinding =
new SerialBinding(catalog, SupplierKey.class);
EntityBinding supplierDataBinding =
new SupplierBinding(catalog, SupplierKey.class,
SupplierData.class);
SerialBinding shipmentKeyBinding =
new SerialBinding(catalog, ShipmentKey.class);
EntityBinding shipmentDataBinding =
new ShipmentBinding(catalog, ShipmentKey.class,
ShipmentData.class);
SerialBinding cityKeyBinding =
new SerialBinding(catalog, String.class);