>> > The code doesn't compile with Java 7. This is intentional, I guess?
>>
>> It works for me both in Eclipse and with Maven. Can you be specific?
>
> I get these errors with Java 7:
>
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jooq ---
> [INFO] Compiling 641 source files to
> /home/adigulla/packages/jOOQ/jOOQ/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /home/adigulla/packages/jOOQ/jOOQ/src/main/java/org/jooq/impl/AbstractRecord.java:[546,38]
> error: incompatible types
> [ERROR]     Object
> /home/adigulla/packages/jOOQ/jOOQ/src/main/java/org/jooq/impl/AbstractRecord.java:[606,30]
> error: incompatible types
> [ERROR]     Object
> /home/adigulla/packages/jOOQ/jOOQ/src/main/java/org/jooq/impl/UpdatableRecordImpl.java:[90,36]
> error: incompatible types
> [ERROR]     Object
> /home/adigulla/packages/jOOQ/jOOQ/src/main/java/org/jooq/impl/UpdatableRecordImpl.java:[243,30]
> error: incompatible types
> [ERROR]     Object
> /home/adigulla/packages/jOOQ/jOOQ/src/main/java/org/jooq/impl/UpdatableRecordImpl.java:[387,30]
> error: incompatible types
> [ERROR]     Object
> /home/adigulla/packages/jOOQ/jOOQ/src/main/java/org/jooq/impl/UpdatableRecordImpl.java:[451,30]
> error: incompatible types
> [INFO] 6 errors

Hmm, try upgrading. These issues were fixed with
https://github.com/jOOQ/jOOQ/commit/047014fe811c0df2d5946bee13185530f5d78879

In this case, the issues had nothing to do with Java 7. From time to
time, I'm having issues with javac's different understanding of
generics compared to those of the Eclipse compiler

>> >> Usage examples can be seen here:
>> >>
>> >>
>> >> https://github.com/jOOQ/jOOQ/blob/master/jOOQ/src/test/java/org/jooq/test/MockTest.java
>> >
>> > I looked through the code. There is no fluent API to build test data. Is
>> > that planned?
>>
>> Not right now. I'll first see how this is adopted. Feel free to
>> suggest / contribute one
>
> Err ... contributing code for your project in the past was neither rewarding
> nor successful for me.

Here we go again.

I can but express time and again that I'm sorry that my words /
decisions made you feel this way. Contrary to your beliefs and
insisting, I did take many of your suggestions seriously, including
the idea of mocking a database (what we're discussing right now), or
the idea of a ConnectionProvider (which is included in 3.0-RC1). I
could probably list 1-2 other items, but I don't know why taking
things personal on this list is so important to you. Maybe you might
consider eventually getting over it and try to be constructive? I'd
greatly apreciate that.

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to