diff --git a/Doc/Sd1/objectsClasses.xml b/Doc/Sd1/objectsClasses.xml index fa5faef499d8b52e3be95e42779ffda328c0ff6e..c724ce0e72fd4c6918f618622c2a7fe065054f48 100644 --- a/Doc/Sd1/objectsClasses.xml +++ b/Doc/Sd1/objectsClasses.xml @@ -8770,7 +8770,7 @@ After printDuplicateValue: </screen></td> <tr> <td valign="top"><programlisting language="java">public static void main(String[] args) { - StringBuffer buffer = new StringBuffer("My"); + StringBuffer buffer = new StringBuffer("My"); System.out.println("Before duplicateString: " + buffer); duplicateString(buffer); @@ -9052,7 +9052,7 @@ After printDuplicateValue: <emphasis role="red">6</emphasis></screen></td> </listitem> <listitem> - <para>Hosting method bound variables.</para> + <para>Hosts method bound variables.</para> </listitem> </itemizedlist> </glossdef> diff --git a/Doc/Sda1/jdbc.xml b/Doc/Sda1/jdbc.xml index be74c9429879ac14f29f2121910432df0527d1fc..214e3ed8f933935efde8ed76e02228161eef763c 100644 --- a/Doc/Sda1/jdbc.xml +++ b/Doc/Sda1/jdbc.xml @@ -1018,7 +1018,7 @@ goik@goiki Minimum> java -jar /.../Jdbc/Insert/Minimum/target/insert_user-0.1 <glosslist> <glossentry> - <glossterm>ResourceBundle</glossterm> + <glossterm>ResourceBundle reading properties</glossterm> <glossdef> <programlisting language="none">// resources/<emphasis @@ -1028,7 +1028,7 @@ ResourceBundle jdbcProperties = ResourceBundle.getBundle("<emphasis role="red">j </glossentry> <glossentry> - <glossterm>ResourceBundle</glossterm> + <glossterm>Using ResourceBundle</glossterm> <glossdef> <programlisting language="none">... Connection conn = DriverManager.getConnection( @@ -1091,15 +1091,18 @@ ResourceBundle jdbcProperties = ResourceBundle.getBundle("<emphasis role="red">j <figure xml:id="sda1_jdbc_fig_dbUnitTestImplement"> <title>Implementing unit tests</title> - <programlisting language="none">public class InsertTest { + <programlisting language="none"><link + xlink:href="https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/blob/master/P/Sda1/Jdbc/Insert/MinimumTest/src/test/java/de/hdm_stuttgart/sda1/insert/InsertTest.java">public class InsertTest</link> { static private Connection conn; + static private Statement stmt; @BeforeClass <co linkends="sda1_jdbc_fig_dbUnitTestImplement-1" xml:id="sda1_jdbc_fig_dbUnitTestImplement-1-co"/> static public void initDatabase() throws SQLException { conn = DriverManager.getConnection( SimpleInsert.jdbcProperties.getString("jdbcurl"), SimpleInsert.jdbcProperties.getString("username"),...); - <emphasis role="red">ScriptUtils.executeSqlScript(conn, new ClassPathResource("schema.sql"));</emphasis>} + <emphasis role="red">ScriptUtils.executeSqlScript(conn, new ClassPathResource("schema.sql"));</emphasis> + stmt = conn.createStatement();} @Test <co linkends="sda1_jdbc_fig_dbUnitTestImplement-2" xml:id="sda1_jdbc_fig_dbUnitTestImplement-2-co"/> diff --git a/Doc/Sda1/xmlschema.xml b/Doc/Sda1/xmlschema.xml index 281225320d6c787b58c8b341a7fd54195b47e5d8..a5c8a3020da677292ff1e56316f481012facd174 100644 --- a/Doc/Sda1/xmlschema.xml +++ b/Doc/Sda1/xmlschema.xml @@ -2719,6 +2719,12 @@ key "primaryKey". --></emphasis> </callout> </calloutlist> </question> + + <answer> + <para>See <link + xlink:href="https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/blob/master/Doc/Sda1/Ref/Memo/V70_final/memo.xsd"><xref + linkend="glo_XSD"/> file</link>.</para> + </answer> </qandaentry> </qandadiv> </qandaset>