Data Types in Java

JDBC is the java API which facilitates connectivity of java application to database.See below figure to more clear concept regarding JDBC.

  • Primitive data types
  • Non-primitive data types

Primitive Data Types

Primitive types are the basic data types available within the Java language.Primitive data types are furthered categorized into following.

  • Integral (byte,short,int,long)
  • Floating-point(float,double)
  • Boolean(boolean)
  • Character(char)

Non-primitive Data Types

JDBC Driver is implementation of JDBC API by different vendors in different ways.Depending upon vendors implementations we are have 4 types of JDBC drivers.

  • String
  • Array
Java By Kiran