Timeline for How should I implement Transaction database EJB 3.0
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 23, 2011 at 4:36 | comment | added | JamesBoyZ | =) I did try to think about how things work in real life. However, since I haven't implemented any systems that involve commercial transactions before, I really want to know how experts like you are doing it. Thanks for your hints ^^ | |
Sep 23, 2011 at 4:32 | comment | added | JamesBoyZ | Your ice-cream example is actually very close to my current situation. To be precise, I am implementing a system for restaurants, which allows customers to make reservation and buy meals. In this system, each item sold doesn't have any kind of bar code that I can save to mark it as something like "5 tennis balls sold". I have just added some more fields to CustomerTransactions to record price, discount at the selling point of time. Besides, when a restaurant deletes an item, I will have a field "boolean deleted" to record that event without deleting the item. Is this a good idea? | |
Sep 22, 2011 at 21:30 | history | answered | Martijn Verburg | CC BY-SA 3.0 |