CST363 Week 6
What I have learned this week
This week I learned how database programming bridges SQL with traditional languages like Java. I learned that languages generally fall into two categories: imperative, which execute step by step, and declarative, like SQL, which is more focused on outcome than process. Being declarative makes SQL optimal for things like databases.
We also explored Java Database Connectivity which enables Java to interact with relational databases using the MySQL Connector. I also learned the differences between Statement, PreparedStatement, and CallableStatement. In this lab I was able to successfully connect Java to MySQL and run queries. This gave a clearer picture of how APIs can be used to allow for Javas object oriented programming code to work alongside SQL's declarative language for use in databases.
Comments
Post a Comment