Added billlSimpleEntryId field to bill table (previously, I put in billId in billSimpleEntry instead which made insertion non-straightforward).
fixed date return issue (finally!). Golden rule: Don't try to fix a problem that doesn't exist. (Why I now regret using JodaTime instead of Date when I haven't even faced the limitations of java.util.Date)