From b8823e6c293fd7cb4e83ceeec14a220087ff168f Mon Sep 17 00:00:00 2001
From: Lukas Eder
Get the latest version from SourceForge
For increased quality, jOOQ uses semantic versioning.
The jOOQ roadmap plans for:
@@ -66,12 +66,12 @@ The semi-formal roadmap is here:
jOOQ is distributed under the Apache 2.0 licence
"jOO*" stands for Java Object Oriented ... It started with jOOQ, an internalised
domain specific language (aka SQL), written in Java. This DSL happens to be a
diff --git a/jOOQ-website/index.php b/jOOQ-website/index.php
index af9517ae89..1c75c617e4 100644
--- a/jOOQ-website/index.php
+++ b/jOOQ-website/index.php
@@ -9,12 +9,12 @@ function getActiveMenu() {
}
function printContent() {
?>
- SQL was never meant to be abstracted. To be confined in the narrow boundaries
of heavy mappers, hiding the beauty and simplicity of relational data.
SQL was never meant to be object-oriented. SQL was never meant to be
anything other than... SQL! It's simple. With the jOOQ DSL, SQL looks almost as if it were
natively supported by Java. For instance, get all books published in 2011, ordered by title jOOQ stands for Java Object Oriented Querying. It combines these essential features: On the other hand, many people like the ease of use of Hibernate or other products, when it comes to simply persisting any domain model in any database. You should not use jOOQ... Every RDMBS out there has its own little specialties.
jOOQ considers those specialties as much as possible, while trying to
standardise the behaviour in jOOQ. In order to increase the quality of jOOQ,
@@ -154,7 +154,7 @@ create.select(FIRST_NAME, LAST_NAME, count())
jOOQ runs with Java 1.6+ This manual is divided into four main sections:
Download and run jOOQ in 6 easy steps:
If you haven't already downloaded them, download jOOQ:
We're going to create a database called "guestbook" and a corresponding "posts" table. Connect to MySQL via your command line client and type the following:
In this step, we're going to use jOOQ's command line tools to generate classes that
map to the Posts table we just created. More detailed information about how to
@@ -225,7 +225,7 @@ INFO: GENERATION FINISHED! : Total: 791.688ms, +9.143ms
-
Let's just write a vanilla main class in the project containing the generated classes:
Download
+# Download
https://sourceforge.net/projects/jooq/files/Release/
@@ -31,7 +31,7 @@ jOOQ's sources are hosted at GitHub:
git@github.com:jOOQ/jOOQ.git
Get the right version of jOOQ
+# Get the right version of jOOQ
https://sourceforge.net/apps/trac/jooq/report/6
License
+# License
Download other products of the jOO* family
+# Download other products of the jOO* family
Philosophy
+# Philosophy
What does jOOQ code look like?
+# What does jOOQ code look like?
What is jOOQ?
+# What is jOOQ?
@@ -79,7 +79,7 @@ create.select(FIRST_NAME, LAST_NAME, count())
- How does jOOQ help you?
+# How does jOOQ help you?
- When to use jOOQ
+# When to use jOOQ
- When not to use jOOQ
+# When not to use jOOQ
- What databases are supported
+# What databases are supported
Other requirements
+# Other requirements
License
diff --git a/jOOQ-website/notes.php b/jOOQ-website/notes.php
index b0caefdd55..e4a008e4d0 100644
--- a/jOOQ-website/notes.php
+++ b/jOOQ-website/notes.php
@@ -22,7 +22,8 @@ function printContent() {
for ($i = 0; $i < count($contents); $i++) {
if ($i + 1 < count($contents) && substr($contents[$i + 1], 0, 3) == '===') {
- print '';
+ $id = trim(preg_replace('%Version (\d+\.\d+\.\d+).*\n?%', '$1', $contents[$i]));
+ print '
# ';
print $contents[$i];
print '
';
}
diff --git a/jOOQ-website/src/main/resources/html-page.xsl b/jOOQ-website/src/main/resources/html-page.xsl
index e05831c41d..716524def8 100644
--- a/jOOQ-website/src/main/resources/html-page.xsl
+++ b/jOOQ-website/src/main/resources/html-page.xsl
@@ -32,12 +32,13 @@ function printContent() {
Table of contents
+ # Table of contents
-
+ #
+
+
+ #
+
Table of contents
+ # Table of contents
Overview
+ # Overview
-Introduction
+# Introduction
Preparation: Download jOOQ and your SQL driver
+# Preparation: Download jOOQ and your SQL driver
https://sourceforge.net/projects/jooq/files/Release/
@@ -52,7 +52,7 @@ If you don't have a MySQL instance up and running yet, get
now! XAMPP is a simple installation bundle for Apache, MySQL, PHP and Perl
Step 1: Create a SQL database and a table
+# Step 1: Create a SQL database and a table
Step 2: Generate classes
+# Step 2: Generate classes
Step 3: Write a main class and establish a MySQL connection
+# Step 3: Write a main class and establish a MySQL connection
Let's add a simple query:
@@ -285,7 +285,7 @@ the next step. -After the line where we retrieve the results, let's iterate over the results and print out the data: @@ -362,7 +362,7 @@ public class Main { } -
jOOQ has grown to be a comprehensive SQL library. For more information, please consider the manual:
http://www.jooq.org/manual/