I just want to know how can i add an item to the database using sqlcontainer. Here is my first code and out of bad luck it does not work. I am having a hard time reading the addressbook demo because of the person bean that is used.
addItem will return id of the new Item and with that id you can fetch the actual new item, like this:
Object id = AddContainer.addItem();
Item item = AddContainer.getItemUnfiltered(id);
//Play with item
AddContainer.commit();