Adding the Share entity/object, which will hold information for a share. It's comparable, so that we can sort arraylists of shares by price-per-share (very useful later on)
Change SQL access to allow for specific connections, and enable transactional connections. Old behaviour is maintained, but one might request a transactional connection and return it later on. The old methods call the new methods (with method name overloading) with a random connection
Implement getting the Shares associated with an idea
Implement getting the shares for an idea of a given UID
Implement getting and setting user money
(small fix to last commit)
Enable setSharesIdea to use a specific connection for transactional support; delete shares if we set them to 0
Implement insertIntoHistory() to insert a transaction into history. It must use a transactional connection and is currently NOT FULLY IMPLEMENTED (Joca has to fix up the query)
Implement tryGetSharesIdea which tries to GET the desired number of shares at the desired targetPrice, at the desired minTargetShares number of shares. It's a really big beast, but it should in theory be working...