<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Frits Hoogland on foojay.io - Friends of OpenJDK</title><link>https://foojayio.github.io/website/today/author/frits-hoogland/</link><description>Articles written by Frits Hoogland on foojay.io - Friends of OpenJDK</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 04 Jul 2023 13:56:41 +0000</lastBuildDate><atom:link href="https://foojayio.github.io/website/today/author/frits-hoogland/index.xml" rel="self" type="application/rss+xml"/><item><title>A Dissection of Java JDBC to PostgreSQL, Part 2: Batching</title><link>https://foojayio.github.io/website/today/a-dissection-of-java-jdbc-to-postgresql-connections-part-2-batching/</link><pubDate>Tue, 04 Jul 2023 13:56:41 +0000</pubDate><guid>https://foojayio.github.io/website/today/a-dissection-of-java-jdbc-to-postgresql-connections-part-2-batching/</guid><description>&lt;p&gt;This is the second part of a series where I look into how Java JDBC connections to PostgreSQL are working, to understand how to optimally implement them.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;ve landed on this article, it might be a good idea to read &lt;a href="https://foojayio.github.io/website/today/a-dissection-of-java-jdbc-to-postgresql-connections/" title="my first article"&gt;my first article&lt;/a&gt;
 as well, which gives an introduction and shares how JDBC communicates with &lt;a href="https://www.yugabyte.com/postgresql/" title="PostgreSQL" target="_blank" rel="noopener noreferrer"&gt;PostgreSQL&lt;/a&gt;
 using simple and extended protocols.&lt;/p&gt;
&lt;p&gt;This new article specifically explores batching. Batching for PostgreSQL JDBC is a property of the extended protocol. It uniquely allows you to send multiple statements in a single request.&lt;/p&gt;</description></item><item><title>A Dissection of Java JDBC to PostgreSQL Connections</title><link>https://foojayio.github.io/website/today/a-dissection-of-java-jdbc-to-postgresql-connections/</link><pubDate>Fri, 12 May 2023 08:52:52 +0000</pubDate><guid>https://foojayio.github.io/website/today/a-dissection-of-java-jdbc-to-postgresql-connections/</guid><description>&lt;p&gt;Many Java applications use a database, and many use JDBC and &lt;a href="https://www.yugabyte.com/postgresql/" title="PostgreSQL" target="_blank" rel="noopener noreferrer"&gt;PostgreSQL&lt;/a&gt;
.&lt;/p&gt;
&lt;p&gt;The latency of database usage is often important, yet, what exactly happens at the database level is unknown.&lt;/p&gt;
&lt;p&gt;This article explains which options are available, what happens, and why.&lt;/p&gt;
&lt;p&gt;Most importantly, it includes a small Java class that can be used and modified to execute specific database tasks, plus a description of how to use a utility (&lt;a href="https://www.wireshark.org" title="Wireshark" target="_blank" rel="noopener noreferrer"&gt;Wireshark&lt;/a&gt;
) to see what is actually happening.&lt;/p&gt;</description></item></channel></rss>