the database driver with java.sql.DriverManager, where DriverManager is a class which is given under JDBC specifications. You can do this by loading driver implementation class into the JVM by using Class.forName(). Open a session to database, i.e. establish a connection to database
JDBC stands for Java Database Connectivity, which is a standard Java API for database-independent connectivity between the Java programming language and a wide range of databases. ADO.NET are using in .net framework for connectivity
JDBC is Java Database Connectivity Provider. ADO.NET has its different list of providers you can use to connect. Default Providers https://msdn.microsoft.com/en-us/library/a6cd7c08.aspx Third Party Providers https://msdn.microsoft.com/en-in/data/dd363565.aspx
http://docs.oracle.com/javase/tutorial/jdbc/basics/connecting.html
Kindly check this :)http://www.tutorialspoint.com/jdbc/jdbc-db-connections.htm