I have been puzzled by this for a while now. My question is, how does object-oriented programming and database management work together? I can't seem to find much on how the two work together. I wanted to make a database driven application and I currently have a good book on object oriented programming that has a process for creating applications using object-oriented methodologies but I just get confused when we start involving databases.
Is a class diagram essentially a database design? Can we still query the database with SQL just like we do with relational databases? How is the data file stored and in what format? Are classes the equivalent to tables and their attributes equivalent to columns?
Thanks in advance I appreciate any responses and I did try google and the similar questions offered.