- Home
- Java & database access
Java & database access
Accessing database in Java using JDBC - Java DataBase Connectivity and JPA - Java Persistence API (Hibernate, Eclipselink, Toplink). Presented on MySQL database.
JDBC driver 101
(00:03:09)
How to download a JDBC driver for your database.
|
Database connection in Eclipse (MySQL)
(00:05:02)
How to add database connection in Eclipse. This example is presented on MySQL database.
|
Eclipse Data Source Explorer explained
(00:02:50)
Eclipse Data Source Explorer explained. Display contents of your tables and execute your own SQL commands. Presented on MySQL database.
|
JBoss Tools (Hibernate tools) installation
(00:02:53)
JBoss Tools (Hibernate tools) Eclipse plugin installation.
|
How to create JPA project with EclipseLink
(00:04:58)
How to create a JPA project in Eclipse with EclipseLink library, which is JPA 2.0 implementation. Presented on MySQL database.
|
Creating a JPA project with EclipseLink and Maven
(00:05:02)
How to create a JPA project in Eclipse with EclipseLink library using Maven. EclipseLink is JPA 2.0 implementation. Presented on MySQL database.
|
JPA 2.0 (Hibernate, Eclipselink) hello world
(00:05:02)
JPA 2.0 (Hibernate, Eclipselink) hello world. How to generate entities and using EntityManager read some data. Presented on MySQL database.
|
JPA (EclipseLink, Hibernate) entity explained.
(00:02:33)
JPA (EclipseLink, Hibernate) entity explained. Mapping table to an entity and table column to an attribute.
|
Primary key generation in JPA
(00:04:17)
How to generate a primary key in JPA (Hibernate, Eclipselink, Toplink). IDENTITY, SEQUENCE and other strategies (AUTO, TABLE) explained.
|
How to read data from BLOB using JPA (Hibernate)
(00:04:02)
How to read data from BLOB or CLOB using JPA (Hibernate) with annotation @Lob and @Basic. Presented on web application which loads images from MySQL database using Servlets.
|
Mapping DATE and TIME in JPA (Hibernate) entity
(00:04:48)
Mapping DATE and TIME from database to java.util.Date using @Temporal annotation in JPA (Hibernate) entity. Information about using Timestamp. Presented on web application and MySQL database.
|
How to create a Hibernate project in Eclipse
(00:03:33)
How to create a Hibernate project in Eclipse using Hibernate Tools (part of JBoss Tools) Presented on MySQL database.
|
Hibernate console configuration and usage
(00:04:17)
Hibernate console configuration and usage. Execute HQL, JPQL and Hibernate Criteria query. How to graphically see entities mapping. Presented on MySQL database.
|
JPA project using Hibernate and Maven
(00:03:37)
How to create a JPA project with Hibernate and Maven in Eclipse. Presented on MySQL database.
|
Eclipse JPA Diagram Editor
(00:03:03)
How to install and use JPA Diagram Editor in Eclipse?
|
Database connection in Eclipse (HSQL)
(00:03:14)
How to connect Hypersonic (HyperSQL / HSQL) database in Eclipse?
|
Database connection in Eclipse (PostgreSQL)
(00:02:10)
How to connect PostgreSQL database in Eclipse?
|
Database connection in Eclipse (Oracle)
(00:03:33)
How to connect Oracle database in Eclipse?
|