Removed unneeded setInventory method, as the bug we encountered before was because the Hibernate session wasn't being flushed.