From 637fcdebe4e2d21beaad809feb1d2362d104dcef Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Tue, 28 May 2019 13:58:13 +0200
Subject: [PATCH] providing <info> blocks

---
 Doc/Sda1/jdbc.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)

diff --git a/Doc/Sda1/jdbc.xml b/Doc/Sda1/jdbc.xml
index f7b0f9493..8e4f7269f 100644
--- a/Doc/Sda1/jdbc.xml
+++ b/Doc/Sda1/jdbc.xml
@@ -11,6 +11,16 @@
          xmlns:db="http://docbook.org/ns/docbook">
   <title>Accessing Relational Data</title>
 
+  <info>
+    <abstract>
+      <para>Concept of persistence</para>
+
+      <para>Data exchange RDBMS ⇌ Java application</para>
+
+      <para>Dealing with transactions</para>
+    </abstract>
+  </info>
+
   <figure xml:id="sda1_jdbc_fig_prerequisites">
     <title>Prerequisite knowledge</title>
 
@@ -120,9 +130,29 @@ INSERT INTO User VALUES('Joe Bix', 'bix');</programlisting>
   <section xml:id="jdbcIntro">
     <title>Introduction to <xref linkend="glo_JDBC"/></title>
 
+    <info>
+      <abstract>
+        <para>Write data using java.sql.Statement</para>
+
+        <para>Reading data using ResultSet</para>
+
+        <para>Dealing with transactions</para>
+      </abstract>
+    </info>
+
     <section xml:id="jdbcWrite">
       <title>Write access, principles</title>
 
+      <info>
+        <abstract>
+          <para>JDBC architecture</para>
+
+          <para>Important interfaces in java.sql</para>
+
+          <para>Write data using java.sql.Statement</para>
+        </abstract>
+      </info>
+
       <para>Connecting an application to a database by establishing a
       connection between client and database server:</para>
 
@@ -407,7 +437,7 @@ abs_path      = "/"  path_segments
       </figure>
 
       <figure xml:id="sda1_jdbc_fig_mysqlLinuxStandardPort">
-        <title><productname>... but Mysql</productname> made it into
+        <title><productname>... but Postgresql</productname> made it into
         Linux</title>
 
         <screen>&gt;grep postgresql /etc/services 
@@ -752,6 +782,14 @@ postgresql      5432/udp       postgres</screen>
     <section xml:id="writeAccessCoding">
       <title>Write access, coding!</title>
 
+      <info>
+        <abstract>
+          <para>Providing a driver based on maven.</para>
+
+          <para>Specifying unit tests.</para>
+        </abstract>
+      </info>
+
       <para><xref linkend="glo_JDBC"/> applications require a per project
       driver configuration:</para>
 
@@ -1561,6 +1599,16 @@ public someClass {
     <section xml:id="jdbcSecurity">
       <title><xref linkend="glo_JDBC"/> and security</title>
 
+      <info>
+        <abstract>
+          <para>Attack vectors.</para>
+
+          <para>Sanitizing user input</para>
+
+          <para>Solution by PreparedStatement </para>
+        </abstract>
+      </info>
+
       <section xml:id="jdbcSecurityNetwork">
         <title>Network sniffing</title>
 
-- 
GitLab