SQL joins
INNER, LEFT, RIGHT, FULL OUTER, CROSS and self joins in SQL, with two small example tables, the queries and their results.
- Databases
8 articles on databases.
INNER, LEFT, RIGHT, FULL OUTER, CROSS and self joins in SQL, with two small example tables, the queries and their results.
Migrate a MySQL database to PostgreSQL with pgloader in Docker, and fix the two authentication errors you are likely to hit.
JDBC driver, DataSource and XADataSource class names per database, with GlassFish and Payara connection pool examples.
JPA recipes: java.time mappings, sequence generators, runtime persistence properties, bulk updates, JSON columns and inheritance.
Apache Derby, the pure-Java database: run the ij tool, connect with embedded, in-memory and network URLs, and run SQL.
Run SQL Server in a Docker container, query it with sqlcmd, connect from Java with jTDS, and define a GlassFish connection pool.
PostgreSQL reference: install and start, dump and restore, force-drop a database, size queries, MySQL migration with pgloader and XA errors.
MySQL reference: users and privileges, password resets, backups and restores, data export, handy queries, Docker and Connector/J.