zoukankan      html  css  js  c++  java
  • A Summaryof JDBC

    Die Sonne gewinnen!

    I think it's easy to understand what is JDBC used for.

    Programer's program should be connected to DB.So programer need JDBC to make it easy.

     JDBC is a standard interface which is achieved by the manufacturer.

    A standard can make thing easy.

    What should programer do?

    just use the interface.

    Drive Management:

               Driver Manager

    Connect Interface:

               Connection

               DatabaseMetaData

    Sentence Object Interface:

               Statement

               PreparedStatement

               CallableStatement

    Results Interface:

               ResultSet

               ResultSetMetaData

    JDBC's workflow:

               1 load the driver,and establish the connection.

               2 establish sentance object.

               3 execute SQL.

               4 deal with results' collection.

               5 close connection.

    Examples:my two other articles.

  • 相关阅读:
    office2007快捷键
    To be solved
    网址Favorites
    C#网址
    developer's website
    Visual Studio快捷键
    如何跟进大客户?
    这些话让我们意识到流程的重要性
    恭祝大家情人节快乐!
    知已知彼,大客户管理10策
  • 原文地址:https://www.cnblogs.com/rixiang/p/4936533.html
Copyright © 2011-2022 走看看