Introduction to JDBC

JDBC API is nothing but a java API (Application Programming Interface) it can able to access a tabular data and stored a data in relational database. Generally an API is in the form of interfaces and collection of classes. It is used for developing java program which can communicate with data base server

An API is classified in to two types

  • Public API: An API is released by an organization and implementation of that API is given by any organization.
  •  Proprietary API: It is based on that organization which is released and implementation           process through that organization only.

Introduction to JDBC

The java application connectivity to data source and source to JDBC API and finally stored in database like My SQL, Oracle, ODBC etc. During application development if we are changing the data base from oracle to My SQL. We cannot use OCI call the function and instead.

JAVA Tutorial Video

 

What is JDBC?

JDBC is a standard API used for developing java program which can communicate with a data base server.  An application is said to be business or enterprise if it is computerizing day to day activities of an organization. The business applications are the enterprise application will be generating huge amount of data.

  • File systems
  • Data base server

To overcome the drawbacks of the file systems then we use data base server for storing the data. The data base server software will be installed every developer as per part of oracle data base we are provided with client program called SQL Plus which we can communicate with data base server.

 JDBC Components:

  • Driver Manager: In a java application with better data base server using as communication protocol. A class can manage a drivers which Matches connection requests. The driver will able to catch the sub protocol under JDBC will be used a database Connection.
  • Driver: The communications with a database server is with an interface You will interrelate openly with a Driver objects very infrequently with put using of Driver Manager objects, which manages objects, It hides the details related  with Driver objects.
  • Statement: Objects can be used produced from this interface to put forward the        SQL statements to a database and Some resultant interfaces receive parameters in addition to execute a stored procedures.
  • Result Set: In this result set objects are hold a data to retrieve from database after execute an SQL query using Statement objects then it acts as an iterator to move its data.
  • SQL Exception: It handles an error which occurs in a database applications.

Get more Tutorials from onlineitguru trainers after completion of java online training

Subscribe
to our newsletter

Drop Us A Query

Trending Courses
  • Selenium with python
    Selenium with Python Training
  • As we know, that Selenium with Python Web Browser Selenium Automation is Gaining Popularity Day by Day. So many Frameworks and Tools Have arisen to get Services to Developers.

  • Deep learning course
    Deep Learning Course
  • Artificial Intelligence, Deep mastering (DL) is completely about, many levels of Representation and sort of abstraction. That guide to design a sense of Information like Images, sound and text format.

  • machine learning with python
    Machine Learning with Python Training
  • Over last few years, Big Data and analysis have come up, with Exponential and modified Direction of Business. That operate Python, emerged with a fast and strong Contender for going with Predictive Analysis.

  • Data science with R
    Data Science With R Training
  • Understanding and using Linear, non-linear regression Models and Classifying techniques for stats analysis. Hypothesis testing sample methods, to get business decisions.

  • data science with python
    Data Science with Python Training
  • Everyone starts Somewhere, first you learn basics of Every Scripting concept. Here you need complete Introduction to Data Science python libraries Concepts.

  • devops with azure
    Devops with Azure Training
  • As we Know Azure DevOps is a Bunch of Services, in guiding Developers. It contains CI/CD, pipelines, code Repositories, Visual Reporting Tools and more code management with version control.


100% Secure Payments. All major credit & debit cards accepted.