It contains mechanisms and objects that allow java applications to connect to a desired. Jdbc is a java api to connect and execute the query with the database. Jdbc tutorial what is java database connectivityjdbc. Jdbc is a standard java api for a databaseindependent connectivity between the java programming language and a wide range of databases. Oracle database jdbc developers guide and reference. This chapter covers the basic concepts of database design followed by implementa. This book introduces the basic concepts of java and provides general. Jdbc works with java on a variety of platforms, such as windows, mac os, and the various versions of unix. It is the basic service for handling a list of jdbc drivers.
List of computer programming terms, definitions, commands, and glossary. Important elements of a java program basic java language syntax. Every jdbc program is made up of the following 4 steps. Lesson 2 introduces key elements of the language for java class creation. As you are going to deal with rdbms, you should have prior exposure to sql and database concepts. Advanced java tutorial learn advanced java concepts with. The structure of the jdbc includes these key concepts. I dedicate this book to the fond memories of my beloved sister, manjula menon, and my dear nephew, anil menon. Java program connectivity data processing utilities. When i shared my collection of top 10 java programming books, one of my readers asked me to share some free java books as well. Requires that you initialize a driver so you can open a communication channel with the database. Basic syntax is also demonstrated, together with coding and documentation standards. Using the jdbc api, applications written in the java programming.
Jdbc api uses jdbc drivers to connect with the database. As a matter of fact, the simple jdbc driver included with this book uses delimited text. This application program interface lets you encode the access request statements, in structured query language sql. For example, the hr user owns the hr schema, which contains schema objects such as the employees table.
1460 509 1074 587 77 883 1192 1345 1422 771 304 948 1286 783 1237 472 1329 1328 1022 73 1017 478 768 492 746 783 1088 1392 667 856 370 182