Hibernate works better.
Added 20 items + 5 orders into database start script.
History view shows details on new purchases.
Fixed price/quantity error when adding new stockitem.