<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.bzz.ch/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.bzz.ch/feed.php">
        <title>BZZ - Modulwiki - de:modul:ffit:3-jahr:java:learningunits:lu10</title>
        <description></description>
        <link>https://wiki.bzz.ch/</link>
        <image rdf:resource="https://wiki.bzz.ch/_media/wiki/logo.png" />
       <dc:date>2026-06-03T12:34:32+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/a?rev=1762729357&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/b?rev=1762823090&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/c?rev=1762824409&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/start?rev=1762736060&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.bzz.ch/_media/wiki/logo.png">
        <title>BZZ - Modulwiki</title>
        <link>https://wiki.bzz.ch/</link>
        <url>https://wiki.bzz.ch/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/a?rev=1762729357&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-09T23:02:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>LU10a - Umgang mit Exceptions</title>
        <link>https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/a?rev=1762729357&amp;do=diff</link>
        <description>LU10a - Umgang mit Exceptions

Spring ResponseStatusException

Allgemein gilt, dass Exceptions in Bezug auf die Performanz schlechter abschneiden als die entsprechenden Checks. Daher sollte man Exceptions nie in „Schönwetter“-Fällen benutzen, sondern höchstens in unerwarteten Situationen. Ein ungültiger</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/b?rev=1762823090&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-11T01:04:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>LU10b - Objekte vs. Fremdschlüssel</title>
        <link>https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/b?rev=1762823090&amp;do=diff</link>
        <description>LU10b - Objekte vs. Fremdschlüssel

Grundsätzlich kann man bei den JPA-Klassen entweder den Fremdschlüssel oder direkt das Zielobjekt selbst als Feld verwenden.
 Datenbankorientiertes Modell  Objektorientiertes Modell  

@Entity
@Getter
@Setter 
public class Account {
    ...
    @Column(name = &quot;project_id&quot;, nullable = false)
    private String projectId;
    ...
}</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/c?rev=1762824409&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-11T01:26:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>LU10c - Transaktionen</title>
        <link>https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/c?rev=1762824409&amp;do=diff</link>
        <description>LU10c - Transaktionen

Bei Fehler innerhalb von gesammelten Änderungen macht es in der Regel Sinn die bereits gemachten Änderungen wieder rückgängig zu machen. Dies geschieht bei SQL mittels Transactions.


BEGIN TRANSACTION;

UPDATE Persons
SET Balance = Balance - 100
WHERE PersonId = &#039;A&#039;;

UPDATE Persons
SET Balance = Balance + 100
WHERE PersonId = &#039;B&#039;;

COMMIT;</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/start?rev=1762736060&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-10T00:54:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>LU10 - Club Accounting App 4 (Allerlei)</title>
        <link>https://wiki.bzz.ch/de/modul/ffit/3-jahr/java/learningunits/lu10/start?rev=1762736060&amp;do=diff</link>
        <description>LU10 - Club Accounting App 4 (Allerlei)


	* LU10a - Umgang mit Exceptions
	* LU10b - Objekte vs. Fremdschlüssel
	* LU10c - Transaktionen



Aufgaben


	* LU10.A01 GET-Methoden implementieren
	* LU10.A02 PUT-Methoden implementieren



Lösungen


Keine Seiten in diesem Namensraum.</description>
    </item>
</rdf:RDF>
