On Monday, February 25, 2013 11:10:23 AM UTC-5, Lukas Eder wrote:
>
> It turns out that this issue was rather easy to fix. This 
> SQLDialectNotSupportedException shouldn't be thrown from the mostSpecific() 
> method:
>
> https://github.com/jOOQ/jOOQ/commit/24254e039e5e9d0e69af2146e9953defa3df4db5
>
> Unfortunately, I had released jOOQ 2.6.3 today, so this fix will have to 
> wait for 2.6.4 to be published.
>
>
Not a problem, I pulled the source a long time ago.
 

>
> What would be the added value of these types? To me, java.sql.Types.OTHER 
> is the most appropriate JDBC type for what you call unresolved / 
> userdefined:
> http://docs.oracle.com/javase/7/docs/api/java/sql/Types.html#OTHER
>
>

Well, then OTHER works for USERDEFINED, I was really thinking of ways to 
avoid tripping over the unresolved type issue in #2007 on the Java side. 
Only thinking aloud here, not trying to say anything.


> Yes, I got that now. You can stop instisting :-) The NPE is a bug, which 
> was easy to fix even before introducing formal PG* support...
>

Alright, sorry, I'll let it rest.
Thank you again for the hard work.


I'd love to be able to compile and test out this change - see where that 
takes me.
I have pulled the code down, and read through some of the info for 
compiling jOOQ from source, but I'm running into problems.

I admittedly am not an Eclipse guy, so after tripping over that a lot, I 
tried Netbeans and think things are "compiling", except when I now run the 
generator tool

Feb 25, 2013 12:07:50 PM org.jooq.tools.JooqLogger info
INFO:   relations              : true
Feb 25, 2013 12:07:50 PM org.jooq.tools.JooqLogger info
INFO:   global references      : true
Feb 25, 2013 12:07:50 PM org.jooq.tools.JooqLogger info
INFO: ----------------------------------------------------------
Feb 25, 2013 12:07:50 PM org.jooq.tools.JooqLogger info
INFO: Emptying                 : 
/Users/petri/Development/test4-jooq-gis/src/gis/generated
Exception in thread "main" java.lang.NoSuchMethodError: 
org.jooq.impl.Factory.val(Ljava/lang/Object;)Lorg/jooq/Field;
at org.jooq.impl.Limit.<init>(Limit.java:61)
at org.jooq.impl.SelectQueryImpl.<init>(SelectQueryImpl.java:140)
at org.jooq.impl.SelectQueryImpl.<init>(SelectQueryImpl.java:121)
at org.jooq.impl.SelectImpl.<init>(SelectImpl.java:144)
at org.jooq.impl.SelectImpl.<init>(SelectImpl.java:140)
at org.jooq.impl.Factory.select(Factory.java:248)
at org.jooq.impl.Executor.select(Executor.java:1765)
at org.jooq.impl.Executor.select(Executor.java:1802)
at 
org.jooq.util.postgres.PostgresDatabase.getSchemata0(PostgresDatabase.java:220)
at org.jooq.util.AbstractDatabase.getSchemata(AbstractDatabase.java:148)
at org.jooq.util.JavaGenerator.generate(JavaGenerator.java:168)
at org.jooq.util.GenerationTool.main(GenerationTool.java:257)
at org.jooq.util.GenerationTool.main(GenerationTool.java:103)
Java Result: 1



Maybe this is caused by my using NB instead, I'm not sure what NB is doing 
when it compiles the Mavan project or what targets its using.

Calling "mvn package" from the command line in the project / sub-project 
directories is only kind of successful.


 

-- 
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