Commit Graph

4916 Commits

Author SHA1 Message Date
Lukas Eder
9e1d9f3e4c Merge pull request #5432 from er1c/scala_conversions
Fix the type-erasure issue for scala vararg helpers in org.jooq.scala.Conversions using scala.predef.DummyImplicit
2016-07-25 16:43:31 +02:00
lukaseder
eefd19f660 [#5437] Partial implementation (fix ordering by ordinal position) 2016-07-25 16:40:21 +02:00
lukaseder
325aaf7d3f [#5461] Add DSLContext.ddl(Catalog) 2016-07-25 16:26:47 +02:00
lukaseder
a402026561 [#5437] Partial implementation 2016-07-25 16:05:21 +02:00
lukaseder
e7b3740a4b [#5442] Support default methods in DefaultRecordMapper.ProxyMapper 2016-07-25 14:04:10 +02:00
lukaseder
2ae8460ef0 [#5457] "overriding method fields in class AbstractRecord" compilation error when using ScalaGenerator on tables containing columns like "fields", "configuration", etc. 2016-07-25 11:23:00 +02:00
lukaseder
7528b7645f [#5452] Add a big disclaimer to the Mock API not to mock an entire database 2016-07-25 10:40:56 +02:00
lukaseder
3450682eb8 [#5449] Add Table.as(Table) to be consistent with Field.as(Field) 2016-07-24 20:01:37 +02:00
lukaseder
2db64c52cd [#5445] Add support for Oracle 12c TRUNCATE .. CASCADE 2016-07-24 17:19:23 +02:00
lukaseder
88dcb4efe6 [#2607] Add support for Oracle 12c's OFFSET .. FETCH clause 2016-07-24 15:43:10 +02:00
lukaseder
5241ed1aca [#5439] Add also Mock.of(int) 2016-07-21 18:02:15 +02:00
lukaseder
eda1b4d0b8 [#5439] Add Mock.of(Record), Mock.of(Result), Mock.of(MockResult...) 2016-07-21 17:57:52 +02:00
lukaseder
231abc3781 [#5430] regenerated code 2016-07-21 17:04:01 +02:00
Lukas Eder
7e853792d3 Merge pull request #5430 from michael-simons/patch-1
Cumulative Earnings example in jOOQ-spark-chart-example is wrong
2016-07-21 17:01:39 +02:00
lukaseder
09c7bf7c6e [#5438] Restored Eric Peters' implementation draft 2016-07-21 16:50:08 +02:00
Lukas Eder
b18e74c23c Merge pull request #5433 from er1c/fix
Fix Scala Conversions fetchOneOption consistent typing patterns
2016-07-21 08:55:50 +02:00
lukaseder
c1abeb7215 [#5431] Revert contributions 2016-07-21 08:52:10 +02:00
Eric Peters
5535d79f31 Fix Scala Conversions fetchOneOption consistent typing patterns 2016-07-20 13:11:21 -07:00
Eric Peters
4212de8b29 Fix the type-erasure issue for scala vararg helpers in org.jooq.scala.Conversions using scala.predef.DummyImplicit 2016-07-20 10:21:09 -07:00
Lukas Eder
cafd995c46 Merge pull request #5431 from er1c/scalaformat
ScalaGenerator should follow Scala Style Guide in generated code
2016-07-20 19:17:04 +02:00
Eric Peters
d0d0526cec Implement a medium-complexity scala identifier matcher & escaper 2016-07-19 16:56:14 -07:00
Eric Peters
4085c5d7be 'name : Type' -> 'name: Type' scala-generated code format cleanup - http://docs.scala-lang.org/style/naming-conventions.html 2016-07-19 15:10:28 -07:00
Michael Simons
86b741bb47 Fix cumulativeEarnings
As the graph suggests cumulative earnings are per store, not over all stores.
2016-07-19 23:40:48 +02:00
lukaseder
270a21342b [#5424] Don't escape Scala-style setter names produced by naming strategies in ScalaGenerator 2016-07-19 21:27:41 +02:00
lukaseder
afd9beba42 [#5421] Revert changes 2016-07-19 19:19:19 +02:00
lukaseder
b44ed5dafb [#5421] Revert changes 2016-07-19 19:12:00 +02:00
Lukas Eder
87024fee0e Merge pull request #5421 from er1c/scala
Generate Scala-Style Getter/Setter for Record classes
2016-07-19 17:39:36 +02:00
Eric Peters
ca3e0b371b 'name : Type' -> 'name: Type' scala-generated code format cleanup - http://docs.scala-lang.org/style/naming-conventions.html 2016-07-18 12:04:27 -07:00
Eric Peters
e316272b78 Add scala-style setters '_=' to Record classes 2016-07-18 12:03:05 -07:00
lukaseder
5f93366074 Merge branch 'master' of https://github.com/jOOQ/jOOQ 2016-07-14 18:04:47 +02:00
lukaseder
163f398b77 [#5415] Recommend using third party Gradle plugin for jOOQ instead of hand-written Groovy code 2016-07-14 18:04:34 +02:00
lukaseder
b04baaa49a Release 3.8.4 2016-07-14 18:04:20 +02:00
Lukas Eder
b74f66be6b Merge pull request #5415 from oehme/patch-1
Recommend jOOQ Gradle plugin
2016-07-14 17:59:47 +02:00
lukaseder
1c52ead91f [#5416] Bad update count on Oracle UPDATE .. RETURNING emulation 2016-07-14 17:00:18 +02:00
Stefan Oehme
cc9074edef Recommend jOOQ Gradle plugin
Instead of telling users to copy-paste a snippet of Groovy code into their build,
we now redirect them to a ready-to-use plugin. This provides several benefits:

- the user's build script is shorter
- the configuration syntax is cleaner
- it is easier to upgrade (users just update the plugin version instead of copy-pasting-modifying a new snippet)
- the jOOQ team does not need to maintain documentation/examples
- the jOOQ team does not need to troubleshoot problems about generating with Gradle, users can instead open issues for the plugin
2016-07-14 14:55:19 +02:00
lukaseder
3acd11534a [#5410] Update Hibernate dependency to 5.2.1 in jooq-meta-extensions 2016-07-12 19:03:57 +02:00
lukaseder
a6ab96c4cc [#5408] Optimistic locking doesn't work for PostgreSQL, Firebird, and Oracle 2016-07-12 17:36:19 +02:00
lukaseder
fbf2bba9c3 [#5404] Exceptions when calling Oracle functions / procedures with TABLE of TABLE type arguments 2016-07-12 16:45:45 +02:00
lukaseder
d49dbfc4b7 [#5399] Conversions.scala returns Option[_] instead of Option[T] or Option[U] where this is possible 2016-07-06 15:50:15 +02:00
lukaseder
822e1d35cb [#5395] Apply changes also to jOOQ-scala 2016-07-06 15:36:20 +02:00
lukaseder
18000246c5 Revert to pre-contravariant method signature to avoid generic issues 2016-07-06 15:19:59 +02:00
lukaseder
d98c043f24 Fixed javac/ejc generics issues 2016-07-06 15:00:49 +02:00
lukaseder
1da24e8c3b [#5398] Add also Converter.ofNullable() 2016-07-06 14:19:40 +02:00
lukaseder
6aba3baddf [#5398] Add converter constructor Converter.of(Class<T>, Class<U>, Function<? super T, ? extends U>, Function<? super U, ? extends T>) 2016-07-06 14:01:33 +02:00
lukaseder
5df74b0e83 [#5395] Fix covariance and contravariance on various Converter API usages 2016-07-06 13:47:42 +02:00
lukaseder
bd421892cb [#5396] Add Converter.andThen(Converter) and Converter.inverse() default methods 2016-07-05 11:40:40 +02:00
lukaseder
b5e87c6271 [#5395] Fix covariance and contravariance on various Converter API usages 2016-07-05 11:38:07 +02:00
lukaseder
be3cd52ce1 [#5302] Unmarshal warning : cvc-complex-type.2.4.b: The content of element 'target' is not complete. One of '{http://www.jooq.org/xsd/jooq-codegen-3.8.0.xsd:encoding}' is expected. 2016-07-04 18:27:28 +02:00
lukaseder
33dc238921 [#5312] Add SQLDataType.VARCHAR(length) and other methods for convenience 2016-07-04 18:07:02 +02:00
lukaseder
acd1fd62f3 [#5349] Wrong defaults for <tableValuedFunctions/> in jOOQ Open Source Edition 2016-07-04 17:40:27 +02:00