MIT1_204S10_lec04

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

Info iconThis 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.
Background image of page 1

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

View Full DocumentRight 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
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/04/2011 for the course ESD 1.204 taught by Professor Georgekocur during the Spring '10 term at MIT.

Page1 / 4

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

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online