diff --git a/jOOQ-website/src/main/resources/manual-3.0.xml b/jOOQ-website/src/main/resources/manual-3.0.xml index d757ee7430..a4c308fa74 100644 --- a/jOOQ-website/src/main/resources/manual-3.0.xml +++ b/jOOQ-website/src/main/resources/manual-3.0.xml @@ -271,7 +271,8 @@ CREATE TABLE author ( first_name VARCHAR2(50), last_name VARCHAR2(50) NOT NULL, date_of_birth DATE, - year_of_birth NUMBER(7) + year_of_birth NUMBER(7), + distinguished NUMBER(1) ) CREATE TABLE book ( @@ -446,18 +447,17 @@ Result result = create.fetch(rs);]]> 5) { - // Congratulate the author by email: - if (author.getMailSent()) { - sendCongratulationMail(author); - - // Don't send the mail twice, so store that flag in the database - author.setMailSent(true); - author.store(); - } + // Mark the author as a "distinguished" author + author.setDistinguished(1); + author.store(); } }]]>