Home Discussion Discuss: First Step towards JDBC!

  • Java Trainingrahul srivastava March 30, 2011 at 2:03 PM

    I was looking for some good java tutorials on JDBC connection with oracle.

  • database connectionrohit June 11, 2011 at 9:57 PM

    how prepared statement is different from prepared Call function????

  • javashashi kant singh June 21, 2011 at 2:26 AM

    very very Good.......

  • java full databaseamandeep July 6, 2011 at 12:10 PM

    plz provide me full tutorial of database, which have next, previous button also..................

  • hikathir July 11, 2011 at 10:09 PM

    how to create database connectivity in java

  • UqwrKTKoPNnKWillie July 3, 2011 at 5:51 AM

    Boy that raelly helps me the heck out.

  • jdbc odbcomkar August 21, 2011 at 10:45 AM

    helpful

  • jdbc odbcomkar August 21, 2011 at 10:46 AM

    helpful

  • JDBC and Strutssharad September 3, 2011 at 12:08 PM

    This is very good topic please send me this tutorial

  • studentDuong September 9, 2011 at 5:14 PM

    good! :)

  • javaramakrishna September 24, 2011 at 4:34 PM

    good

  • sdfsdflaxman September 27, 2011 at 6:42 PM

    hi

  • database connectionbirhanu tsadik November 23, 2011 at 5:17 PM

    there is no have speed to download

  • JDBC J2EE exitcindaaa December 9, 2011 at 7:20 AM

    package com.utility; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class DBConnection { public Connection getConnection(){ Connection connection = null; try { // Load the JDBC driver String driverName = "oracle.jdbc.driver.OracleDriver"; Class.forName(driverName); // Create a connection to the database String serverName = "172.24.137.30"; String portNumber = "1521"; String sid = "ora10g"; String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid; String username = "e527205"; String password = "xLehabiyM"; connection = DriverManager.getConnection(url, username, password); /* System.out.println(connection); Statement st = connection.createStatement(); ResultSet rs = st.executeQuery("select * from teststudent"); while(rs.next()){ System.out.println("name ::"+ rs.getString(2)); }*/ } catch (Exception e) { System.out.println("Exception "+e); } return connection; } public void closeConnection(Connection conn){ if(conn!=null) try { conn.close(); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }

  • tell me about jdbcm.goveswara reddy January 28, 2012 at 5:08 PM

    i dont no about the jdbc please tell me

  • jdbcalhassan February 1, 2012 at 10:46 PM

    help me with codes to work with

  • java connectivityAb February 5, 2012 at 10:24 AM

    i'm not avle to code 'first' button for my dtabase . Please help me..........

  • JDBCsuguna March 13, 2012 at 10:28 AM

    it's very nice...

  • Struts2 codeanil May 2, 2012 at 5:27 PM

    Struts2 code,when we copy and paste url in other browser then it will ask for login then open url related pages.

  • findfeyiso May 13, 2012 at 12:36 AM

    referance material provision

  • jaavam sandeep May 13, 2012 at 10:24 AM

    explain what is the process is gonging on internally if we connect establish with oracle database server

  • java shradha June 7, 2012 at 11:11 AM

    no

  • javalakchani June 18, 2012 at 4:29 PM

    i want to know all java examples with question answers

  • my sqlanzil July 25, 2012 at 10:17 AM

    please send mysql connectivity in java

  • topicganesh mangal August 11, 2012 at 11:17 AM

    topic

  • Advance JavaShahnawaz Alam September 24, 2012 at 8:02 PM

    what are the two tier database design and three tier database design?what are the functions of both design?

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
DMCA.com