GithubHelp home page GithubHelp logo

atuldwivedi / learn-jdbc Goto Github PK

View Code? Open in Web Editor NEW
7.0 6.0 1.0 777 KB

Learn and use JDBC with simple examples.

Home Page: https://sites.google.com/prod/view/eknowledge/java/jdbc

Java 100.00%
java jdbc-driver jdbc atul atuldwivedi

learn-jdbc's Introduction

LearnJDBC

Learn and use JDBC APIs with simple but the best examples. The step by step learning with coolest examples and proper supporting documentation.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  1. Java, we are using Java 1.8 (download and install Java)
  2. Any IDE of you choice like Eclipse (download and install/unzip Eclipse)
  3. Any relational database, here for simplicity we are using H2 (download and install/unzip H2)
  4. JDBC Driver, in our case we are using H2 and H2 JDBC driver can be found in h2\bin as Executable Jar File

Good to have

If you wanna speed up all the process and want up-to-date with all changes. Follow the below steps

How to run Hello world JDBC program?

After installing all mentioned softwares, you can follow the below steps to get HelloWorldJDBC.java program run.

  1. Copy https://github.com/AtulDwivedi/LearnJDBC.git URL
  2. Launch the eclipse
  3. Go to eclipss workspace folder, right click and click Git Clone, paste the copied URL in URL field, click Ok
  4. Copy project name i.e. LearnJDBC
  5. Create new LearnJDBC project in Eclipse
  • Open Eclipse click File -> New -> Others
  • Type Java Project in Wizards text box
  • Select Java Project, click Next
  • Paste copied project name in Project Name text box
  • Select Use default JRE radio button
  • Click Next, Click Finish
  1. Click on newly created project, right click, click Refresh
  2. Click on LearnJDBC project, right click, click Build Path -> Configure Build Path...
  3. Click Libraries, click Add External JARs..
  4. Navigate to H2 installation directory and go inside h2\bin
  5. Select Executable Jar File, click Open
  6. Click Ok
  7. Open HelloWorldJDBC.java file in eclipse
  8. Right click in file, Run As -> Java Application

learn-jdbc's People

Contributors

atuldwivedi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

donghyounkang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.