Object[] rowKeyColumnValues = new Object[] { "Emmanuel", 1 };
EntityKey entityKey = createEntityKey( "user", new String[] { "id", "age" }, new Object[] { "17", 36 } );
Tuple tuple = dialect.createTuple( entityKey, emptyTupleContext() );
dialect.insertOrUpdateTuple( entityKey, tuple, emptyTupleContext() );
AssociationKey key = createAssociationKey(
entityKey, "addresses", "user_address", new String[] { "user_id" }, new Object[] { "Emmanuel" }, rowKeyColumnNames
);
Association createAssociation = dialect.createAssociation( key, emptyAssociationContext() );
Map<String, Object> properties = new HashMap<String, Object>();