MIT1_204S10_lec04

MIT1_204S10_lec04 - Note most of this lecture has been...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1.204 Lecture 4 JDBC Code examples from JDBC API Tutorial and Reference JDBC API Package (library) of classes and methods to connect from a Java application to DBMS execute SQL statements and Java application to DBMS, execute SQL statements and retrieve results SQL syntax primarily based on SQL-92 standard Standard set of error codes Standard way to connect and log on to DBMS Standard representation of data types Standard methods for data type conversions Standard methods to send SQL queries and receive result sets JDBC has level 1-4 functionality to deal with simple and sophisticated interfaces. It can interface to files and other data sources as well 1 Note: most of this lecture has been removed due to copyright restrictions.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Transactions Group of operations often must be treated as atomic unit Start transaction Insert OrderHeader While more OrderDetail (line items) exist: Select Part Update Part inventory Insert OrderDetail row
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern