On Monday, February 25, 2013 11:10:23 AM UTC-5, Lukas Eder wrote:
Not a problem, I pulled the source a long time ago.
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.