I would like to suggest this patch updating some parts of the H2 documentation related to jOOQ. These are the suggested changes:
- jaqu.html: Added link to the list of similar products - links.html: Updated link to the official homepage - tutorial.html: Updated "Using H2 with jOOQ" and links Cheers Lukas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/CZHzmzZYYXAJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
Index: src/docsrc/html/tutorial.html =================================================================== --- src/docsrc/html/tutorial.html (revision 4211) +++ src/docsrc/html/tutorial.html (working copy) @@ -646,24 +646,35 @@ </p> <pre> java -cp jooq.jar;jooq-meta.jar;jooq-codegen.jar;h2-1.3.158.jar;. -org.jooq.util.GenerationTool /codegen.properties +org.jooq.util.GenerationTool /codegen.xml </pre> <p> -...where <code>codegen.properties</code> contains this information +...where <code>codegen.xml</code> is on the classpath and contains this information </p> <pre> -jdbc.Driver=org.h2.Driver -jdbc.URL=jdbc:h2:~/test -jdbc.Schema=PUBLIC -jdbc.User=sa -jdbc.Password= -generator=org.jooq.util.DefaultGenerator -generator.database=org.jooq.util.h2.H2Database -generator.database.includes=.* -generator.database.excludes= -generator.generate.relations=true -generator.target.package=org.jooq.h2.generated -generator.target.directory=./src +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<configuration xmlns="http://www.jooq.org/xsd/jooq-codegen-2.3.0.xsd"> + <jdbc> + <driver>org.h2.Driver</driver> + <url>jdbc:h2:~/test</url> + <user>sa</user> + <password></password> + </jdbc> + <generator> + <name>org.jooq.util.DefaultGenerator</name> + <database> + <name>org.jooq.util.h2.H2Database</name> + <includes>.*</includes> + <excludes></excludes> + <inputSchema>PUBLIC</inputSchema> + </database> + <generate></generate> + <target> + <packageName>org.jooq.h2.generated</packageName> + <directory>./src</directory> + </target> + </generator> +</configuration> </pre> <p> Using the generated source, you can query the database as follows: @@ -678,7 +689,7 @@ </pre> <p> See more details on <a href="http://www.jooq.org">jOOQ Homepage</a> -and in the <a href="http://sourceforge.net/apps/trac/jooq/wiki/Manual/META/Configuration">jOOQ Manual</a> +and in the <a href="http://www.jooq.org/tutorial.php">jOOQ Tutorial</a> </p> <h2 id="web_applications">Using Databases in Web Applications</h2> Index: src/docsrc/html/jaqu.html =================================================================== --- src/docsrc/html/jaqu.html (revision 4211) +++ src/docsrc/html/jaqu.html (working copy) @@ -325,6 +325,7 @@ <a href="http://incubator.apache.org/empire-db/empiredb/empiredb.htm">Empire-db</a><br /> <a href="http://www.jequel.de">JEQUEL: Java Embedded QUEry Language</a><br /> <a href="http://joist.ws">Joist</a><br /> +<a href="http://www.jooq.org">jOOQ</a><br /> <a href="http://josql.sourceforge.net">JoSQL</a><br /> <a href="http://code.google.com/p/liquidform">LIQUidFORM</a><br /> <a href="http://svn.quaere.codehaus.org/browse/~raw,r=76/quaere/trunk/Quaere/src/test/java/org/quaere/alias/test/SamplesTest.java">Quaere (Alias implementation)</a><br /> Index: src/docsrc/html/links.html =================================================================== --- src/docsrc/html/links.html (revision 4211) +++ src/docsrc/html/links.html (working copy) @@ -424,9 +424,9 @@ Framework for constructing workgroup business applications based on the Naked Objects Architectural Pattern. </p> -<p><a href="http://jooq.sourceforge.net"> +<p><a href="http://www.jooq.org"> jOOQ (Java Object Oriented Querying)</a><br /> -jOOQ takes your database schema as a base for code generation. +jOOQ is a fluent API for typesafe SQL query construction and execution </p> <p><a href="http://getjotbot.com">
