Skip to content

Commit c673009

Browse files
committed
Whitespace changes
1 parent d5bf671 commit c673009

File tree

876 files changed

+207190
-207190
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

876 files changed

+207190
-207190
lines changed

.gitignore

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/OSS-jOOQ
2-
/OSS-jOOQ-meta
3-
/OSS-jOOQ-codegen
4-
/OSS-jOOQ-codegen-maven
5-
/target
1+
/OSS-jOOQ
2+
/OSS-jOOQ-meta
3+
/OSS-jOOQ-codegen
4+
/OSS-jOOQ-codegen-maven
5+
/target

.travis.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
language: java
2-
jdk:
3-
- oraclejdk7
4-
- openjdk7
5-
- openjdk6
6-
install:
7-
- sh -c 'mvn install -DskipTests=true'
8-
- sh -c 'cd jOOQ-examples/jOOQ-spring-example && mvn install -DskipTests=true'
9-
- sh -c 'cd jOOQ-examples/jOOQ-spring-guice-example && mvn install -DskipTests=true'
10-
script:
11-
- sh -c 'mvn test'
12-
- sh -c 'cd jOOQ-examples/jOOQ-spring-example && mvn test'
13-
- sh -c 'cd jOOQ-examples/jOOQ-spring-guice-example && mvn test'
1+
language: java
2+
jdk:
3+
- oraclejdk7
4+
- openjdk7
5+
- openjdk6
6+
install:
7+
- sh -c 'mvn install -DskipTests=true'
8+
- sh -c 'cd jOOQ-examples/jOOQ-spring-example && mvn install -DskipTests=true'
9+
- sh -c 'cd jOOQ-examples/jOOQ-spring-guice-example && mvn install -DskipTests=true'
10+
script:
11+
- sh -c 'mvn test'
12+
- sh -c 'cd jOOQ-examples/jOOQ-spring-example && mvn test'
13+
- sh -c 'cd jOOQ-examples/jOOQ-spring-guice-example && mvn test'

LICENSE

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
Copyright (c) 2009-2012, Lukas Eder, [email protected]
2-
All rights reserved.
3-
4-
This software is licensed to you under the Apache License, Version 2.0
5-
(the "License"); You may obtain a copy of the License at
6-
7-
http://www.apache.org/licenses/LICENSE-2.0
8-
9-
Redistribution and use in source and binary forms, with or without
10-
modification, are permitted provided that the following conditions are met:
11-
12-
. Redistributions of source code must retain the above copyright notice, this
13-
list of conditions and the following disclaimer.
14-
15-
. Redistributions in binary form must reproduce the above copyright notice,
16-
this list of conditions and the following disclaimer in the documentation
17-
and/or other materials provided with the distribution.
18-
19-
. Neither the name "jOOQ" nor the names of its contributors may be
20-
used to endorse or promote products derived from this software without
21-
specific prior written permission.
22-
23-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
27-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29-
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30-
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1+
Copyright (c) 2009-2012, Lukas Eder, [email protected]
2+
All rights reserved.
3+
4+
This software is licensed to you under the Apache License, Version 2.0
5+
(the "License"); You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Redistribution and use in source and binary forms, with or without
10+
modification, are permitted provided that the following conditions are met:
11+
12+
. Redistributions of source code must retain the above copyright notice, this
13+
list of conditions and the following disclaimer.
14+
15+
. Redistributions in binary form must reproduce the above copyright notice,
16+
this list of conditions and the following disclaimer in the documentation
17+
and/or other materials provided with the distribution.
18+
19+
. Neither the name "jOOQ" nor the names of its contributors may be
20+
used to endorse or promote products derived from this software without
21+
specific prior written permission.
22+
23+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
27+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3333
POSSIBILITY OF SUCH DAMAGE.

README.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
jOOQ's reason for being - compared to JPA
2-
=========================================
3-
4-
Java and SQL have come a long way. SQL is an "ancient", yet established and well-understood technology. Java is a legacy too, although its platform JVM allows for many new and contemporary languages built on top of it. Yet, after all these years, libraries dealing with the interface between SQL and Java have come and gone, leaving JPA to be a standard that is accepted only with doubts, short of any surviving options.
5-
6-
So far, there had been only few database abstraction frameworks or libraries, that truly respected SQL as a first class citizen among languages. Most frameworks, including the industry standards JPA, EJB, Hibernate, JDO, Criteria Query, and many others try to hide SQL itself, minimising its scope to things called JPQL, HQL, JDOQL and various other inferior query languages
7-
8-
jOOQ has come to fill this gap.
9-
10-
jOOQ's reason of being - compared to LINQ
11-
=========================================
12-
13-
Other platforms incorporate ideas such as LINQ (with LINQ-to-SQL), or Scala's SLICK, or also Java's QueryDSL to better integrate querying as a concept into their respective language. By querying, they understand querying of arbitrary targets, such as SQL, XML, Collections and other heterogeneous data stores. jOOQ claims that this is going the wrong way too.
14-
15-
In more advanced querying use-cases (more than simple CRUD and the occasional JOIN), people will want to profit from the expressivity of SQL. Due to the relational nature of SQL, this is quite different from what object-oriented and partially functional languages such as C#, Scala, or Java can offer.
16-
17-
It is very hard to formally express and validate joins and the ad-hoc table expression types they create. It gets even harder when you want support for more advanced table expressions, such as pivot tables, unnested cursors, or just arbitrary projections from derived tables. With a very strong object-oriented typing model, these features will probably stay out of scope.
18-
19-
In essence, the decision of creating an API that looks like SQL or one that looks like C#, Scala, Java is a definite decision in favour of one or the other platform. While it will be easier to evolve SLICK in similar ways as LINQ (or QueryDSL in the Java world), SQL feature scope that clearly communicates its underlying intent will be very hard to add, later on (e.g. how would you model Oracle's partitioned outer join syntax? How would you model ANSI/ISO SQL:1999 grouping sets? How can you support scalar subquery caching? etc...).
20-
21-
jOOQ has come to fill this gap.
22-
23-
jOOQ is different
24-
=================
25-
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!
26-
27-
For more details please visit [jooq.org](http://www.jooq.org).
28-
29-
Follow jOOQ on [Twitter](http://twitter.com/#!/JavaOOQ) and on [Wordpress](http://lukaseder.wordpress.com).
1+
jOOQ's reason for being - compared to JPA
2+
=========================================
3+
4+
Java and SQL have come a long way. SQL is an "ancient", yet established and well-understood technology. Java is a legacy too, although its platform JVM allows for many new and contemporary languages built on top of it. Yet, after all these years, libraries dealing with the interface between SQL and Java have come and gone, leaving JPA to be a standard that is accepted only with doubts, short of any surviving options.
5+
6+
So far, there had been only few database abstraction frameworks or libraries, that truly respected SQL as a first class citizen among languages. Most frameworks, including the industry standards JPA, EJB, Hibernate, JDO, Criteria Query, and many others try to hide SQL itself, minimising its scope to things called JPQL, HQL, JDOQL and various other inferior query languages
7+
8+
jOOQ has come to fill this gap.
9+
10+
jOOQ's reason of being - compared to LINQ
11+
=========================================
12+
13+
Other platforms incorporate ideas such as LINQ (with LINQ-to-SQL), or Scala's SLICK, or also Java's QueryDSL to better integrate querying as a concept into their respective language. By querying, they understand querying of arbitrary targets, such as SQL, XML, Collections and other heterogeneous data stores. jOOQ claims that this is going the wrong way too.
14+
15+
In more advanced querying use-cases (more than simple CRUD and the occasional JOIN), people will want to profit from the expressivity of SQL. Due to the relational nature of SQL, this is quite different from what object-oriented and partially functional languages such as C#, Scala, or Java can offer.
16+
17+
It is very hard to formally express and validate joins and the ad-hoc table expression types they create. It gets even harder when you want support for more advanced table expressions, such as pivot tables, unnested cursors, or just arbitrary projections from derived tables. With a very strong object-oriented typing model, these features will probably stay out of scope.
18+
19+
In essence, the decision of creating an API that looks like SQL or one that looks like C#, Scala, Java is a definite decision in favour of one or the other platform. While it will be easier to evolve SLICK in similar ways as LINQ (or QueryDSL in the Java world), SQL feature scope that clearly communicates its underlying intent will be very hard to add, later on (e.g. how would you model Oracle's partitioned outer join syntax? How would you model ANSI/ISO SQL:1999 grouping sets? How can you support scalar subquery caching? etc...).
20+
21+
jOOQ has come to fill this gap.
22+
23+
jOOQ is different
24+
=================
25+
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!
26+
27+
For more details please visit [jooq.org](http://www.jooq.org).
28+
29+
Follow jOOQ on [Twitter](http://twitter.com/#!/JavaOOQ) and on [Wordpress](http://lukaseder.wordpress.com).

authors.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
lukaseder = Lukas Eder <[email protected]>
2-
Chrriis = Chrriis <[email protected]>
1+
lukaseder = Lukas Eder <[email protected]>
2+
Chrriis = Chrriis <[email protected]>

jOOQ-codegen-maven/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/target
1+
/target

jOOQ-codegen-maven/LICENSE.txt

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
Copyright (c) 2009-2013, Data Geekery GmbH (http://www.datageekery.com)
2-
All rights reserved.
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
Other licenses:
17-
-----------------------------------------------------------------------------
18-
Commercial licenses for this work are available. These replace the above
19-
ASL 2.0 and offer limited warranties, support, maintenance, and commercial
20-
database integrations.
21-
1+
Copyright (c) 2009-2014, Data Geekery GmbH (http://www.datageekery.com)
2+
All rights reserved.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
16+
Other licenses:
17+
-----------------------------------------------------------------------------
18+
Commercial licenses for this work are available. These replace the above
19+
ASL 2.0 and offer limited warranties, support, maintenance, and commercial
20+
database integrations.
21+
2222
For more information, please visit: http://www.jooq.org/licenses
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
Copyright (c) 2009-2013, Data Geekery GmbH (http://www.datageekery.com)
2-
All rights reserved.
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
Other licenses:
17-
-----------------------------------------------------------------------------
18-
Commercial licenses for this work are available. These replace the above
19-
ASL 2.0 and offer limited warranties, support, maintenance, and commercial
20-
database integrations.
21-
1+
Copyright (c) 2009-2014, Data Geekery GmbH (http://www.datageekery.com)
2+
All rights reserved.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
16+
Other licenses:
17+
-----------------------------------------------------------------------------
18+
Commercial licenses for this work are available. These replace the above
19+
ASL 2.0 and offer limited warranties, support, maintenance, and commercial
20+
database integrations.
21+
2222
For more information, please visit: http://www.jooq.org/licenses

jOOQ-codegen/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/target
1+
/target

jOOQ-codegen/LICENSE.txt

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
Copyright (c) 2009-2013, Data Geekery GmbH (http://www.datageekery.com)
2-
All rights reserved.
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
Other licenses:
17-
-----------------------------------------------------------------------------
18-
Commercial licenses for this work are available. These replace the above
19-
ASL 2.0 and offer limited warranties, support, maintenance, and commercial
20-
database integrations.
21-
1+
Copyright (c) 2009-2014, Data Geekery GmbH (http://www.datageekery.com)
2+
All rights reserved.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
16+
Other licenses:
17+
-----------------------------------------------------------------------------
18+
Commercial licenses for this work are available. These replace the above
19+
ASL 2.0 and offer limited warranties, support, maintenance, and commercial
20+
database integrations.
21+
2222
For more information, please visit: http://www.jooq.org/licenses
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
Copyright (c) 2009-2013, Data Geekery GmbH (http://www.datageekery.com)
2-
All rights reserved.
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
Other licenses:
17-
-----------------------------------------------------------------------------
18-
Commercial licenses for this work are available. These replace the above
19-
ASL 2.0 and offer limited warranties, support, maintenance, and commercial
20-
database integrations.
21-
1+
Copyright (c) 2009-2014, Data Geekery GmbH (http://www.datageekery.com)
2+
All rights reserved.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
16+
Other licenses:
17+
-----------------------------------------------------------------------------
18+
Commercial licenses for this work are available. These replace the above
19+
ASL 2.0 and offer limited warranties, support, maintenance, and commercial
20+
database integrations.
21+
2222
For more information, please visit: http://www.jooq.org/licenses

0 commit comments

Comments
 (0)