JDBC for MySQL - Herong's Tutorial Examples


Book Description

This JDBC tutorial book is a collection of notes and sample codes written by the author while he was learning JDBC technology himself. Topics include installing JDK and MySQL server; using MySQL JDBC driver (MySQL Connector/J); database connection URLs; introduction to Result Set; Meta Data, Prepared Statement, CLOB, and BLOB; connection pooling with DBCP and C3P0. Updated in 2024 (Version v3.13) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/JDBC-MySQL.




JDBC Tutorials - Herong's Tutorial Examples


Book Description

This JDBC tutorial book is a collection of notes and sample codes written by the author while he was learning JDBC technology himself. Topics include installing JDK and Derby database server; using Derby JDBC driver; database connection URLs; introduction to Result Set; Meta Data, Prepared Statement, CLOB, and BLOB; connection pooling with DBCP and C3P0. Updated in 2024 (Version v3.13) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/JDBC.




JDBC for Oracle - Herong's Tutorial Examples


Book Description

This JDBC tutorial book is a collection of notes and sample codes written by the author while he was learning JDBC technology himself. Topics include installing JDK and Oracle server; using Oracle JDBC driver; database connection URLs; introduction to Result Set, Meta Data, Prepared Statement, CLOB, and BLOB. Updated in 2024 (Version v3.13) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/JDBC-Oracle.




MySQL Tutorials - Herong's Tutorial Examples


Book Description

This MySQL tutorial book is a collection of notes and sample codes written by the author while he was learning MySQL himself, an ideal tutorial guide for beginners. Topics include introduction of Structured Query Language (SQL); installation of MySQL server on Windows, Linux, and macOS; using MySQL client program; accessing MySQL server from PHP, Java and Perl programs; SQL data types, literals, operations, expressions, and functions; Statements of Data Definition Language (DDL), Data Manipulation Language (DML), and Query Language; creating and using indexes; using window functions; stored procedures; transaction management; locks and deadlocks; InnoDB and other storage engines. Updated in 2023 (Version v4.46) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/MySQL.




MySQL and Java Developer's Guide


Book Description

Hier erfahren Java Entwickler alles, was sie wissen müssen, um Java Datenbankanwendungen mit MySQL zu entwickeln. "MySQL and Java Developer's Guide" ist der erste umfassende Leitfaden zu MySQL für Java-Entwickler. Er basiert auf einem praxisorientierten und codeintensiven Ansatz. Hier lernen Java Entwickler, wie sie eine komplexe Managementanwendung für Webdatenbanken entwickeln. Zunächst gibt der Autor einen Überblick über die Grundlagen von MySQL. Dann erklärt er, wie man JDBC mit MySQL verwendet und wie man Servlets und JSP mit MySQL entwickelt. Mit einem codeintensiven Tutorial. Es demonstriert, wie man die Muster-Datenbankanwendung mit Hilfe von EJB entwickelt. Mit begleitender Website. Sie enthält die kompletten Quellcodebeispiele aus dem Buch sowie Links zu anderen nützlichen Seiten. Geschrieben von Mark Matthews, dem Erfinder des JDBC-Treibers für MySQL und unbestrittene Autorität auf dem Gebiet der Java Programmierung mit MySQL.




JDBC Tutorials - Herong's Tutorial Examples


Book Description

This JDBC tutorial book is a collection of notes and sample codes written by the author while he was learning JDBC technology himself. Topics include installing JDK and Derby database server; using Derby JDBC driver; database connection URLs; introduction to Result Set; Meta Data, Prepared Statement, CLOB, and BLOB; connection pooling with DBCP and C3P0. Updated in 2024 (Version v3.13) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/JDBC.




JDBC for SQL Server - Herong's Tutorial Examples


Book Description

This JDBC tutorial book is a collection of notes and sample codes written by the author while he was learning JDBC technology himself. Topics include installing JDK and SQL Server; using SQL Server JDBC and JDBC-ODBC Bridge drivers; database connection URLs; introduction to Result Set, Meta Data, Prepared Statement, CLOB, and BLOB. Updated in 2024 (Version v3.13) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/JDBC-SQL-Server.




Easy Learning JDBC + MySQL


Book Description

The complexity of life, because they do not understand to simplify the complex, to simplify the complexity, simple is the beginning of wisdom. From the essence of practice, to briefly explain the concept, and vividly cultivate programming interest, this book easy and quickly learn JDBC + MySQL.1. JDBC connect MySQL about Add Delete Update Research2. JDBC Precompiled CRUD3. JDBC Tool DBUtil4. DBUtil User CRUD5. DBUtil UserDAO CRUD6. DBUtil UserDAO Paging Query7. JDBC Reflections Any Object8. JDBC Transaction9. JDBC Save and Export Text File10. JDBC Save and Export Picture11. JDBC Call Stored Procedure Add User12. JDBC Call Stored Procedure Update User13. JDBC Call Stored Procedure Delete User14. JDBC Call Stored Procedure Query User15. JDBC Call Stored Procedure Return Parameter




JDBC API Tutorial and Reference


Book Description

bull; A comprehensive tutorial AND useful rufescence in one volume bull; Includes multiple explanations and examples for the new features of the JDBC 3.0 specification bull; Written by the JDBC 3.0 architects, Maydene Fisher, Jon Ellis and Jonathan Bruce




Learn JDBC By Example: A Quick Start Guide to MariaDB and SQL Server Driven Programming


Book Description

This book explains relational theory in practice, and demonstrates through two projects how you can apply it to your use of MariaDB and SQL Server databases. This book covers the important requirements of teaching databases with a practical and progressive perspective. This book offers the straightforward, practical answers you need to help you do your job. This hands-on tutorial/reference/guide to MariaDB and SQL Server is not only perfect for students and beginners, but it also works for experienced developers who aren't getting the most from MariaDB and SQL Server. As you would expect, this book shows how to build from scratch two different databases: MariaDB and SQL Server using Java. In designing a GUI and as an IDE, you will make use of the NetBeans tool. In chapter one, you will learn the basics of cryptography using Java. Here, you will learn how to write a Java program to count Hash, MAC (Message Authentication Code), store keys in a KeyStore, generate PrivateKey and PublicKey, encrypt / decrypt data, and generate and verify digital prints. You will also learn how to create and store salt passwords and verify them. In chapter two, you will create a PostgreSQL database, named Bank, and its tables. In chapter three, you will create a Login table. In this case, you will see how to create a Java GUI using NetBeans to implement it. In addition to the Login table, in this chapter you will also create a Client table. In the case of the Client table, you will learn how to generate and save public and private keys into a database. You will also learn how to encrypt / decrypt data and save the results into a database. In chapter four, you will create an Account table. This account table has the following ten fields: account_id (primary key), client_id (primarykey), account_number, account_date, account_type, plain_balance, cipher_balance, decipher_balance, digital_signature, and signature_verification. In this case, you will learn how to implement generating and verifying digital prints and storing the results into a database. In chapter five, you create a table named Client_Data, which has seven columns: client_data_id (primary key), account_id (primary_key), birth_date, address, mother_name, telephone, and photo_path. In chapter six, you will be taught how to create a SQL Server database, named Crime, and its tables. In chapter seven, you will be taught how to extract image features, utilizing BufferedImage class, in Java GUI. In chapter eight, you will be taught to create Java GUI to view, edit, insert, and delete Suspect table data. This table has eleven columns: suspect_id (primary key), suspect_name, birth_date, case_date, report_date, suspect_ status, arrest_date, mother_name, address, telephone, and photo. In chapter nine, you will be taught to create Java GUI to view, edit, insert, and delete Feature_Extraction table data. This table has eight columns: feature_id (primary key), suspect_id (foreign key), feature1, feature2, feature3, feature4, feature5, and feature6. In chapter ten, you will add two tables: Police_Station and Investigator. These two tables will later be joined to Suspect table through another table, File_Case, which will be built in the seventh chapter. The Police_Station has six columns: police_station_id (primary key), location, city, province, telephone, and photo. The Investigator has eight columns: investigator_id (primary key), investigator_name, rank, birth_date, gender, address, telephone, and photo. Here, you will design a Java GUI to display, edit, fill, and delete data in both tables. In chapter eleven, you will add two tables: Victim and File_Case. The File_Case table will connect four other tables: Suspect, Police_Station, Investigator and Victim. The Victim table has nine columns: victim_id (primary key), victim_name, crime_type, birth_date, crime_date, gender, address, telephone, and photo. The File_Case has seven columns: file_case_id (primary key), suspect_id (foreign key), police_station_id (foreign key), investigator_id (foreign key), victim_id (foreign key), status, and description. Here, you will also design a Java GUI to display, edit, fill, and delete data in both tables. Finally, this book is hopefully useful and can improve database programming skills for every Java/MariaDB/SQL Server programmer.