I compiled jOOQ for .NET. The library is attached.
I tried it with a little test program that reads some data from a postgres db with a plain sql fetch.
The programm looks like this:
public static void Main(string[] args) {
DriverManager.registerDriver(new org.postgresql.Driver());
Connection con = null;
Executor exe = null;
Result ret;
try {
con = DriverManager.getConnection("jdbc:postgresql://192.168.201.16:5433/shop_test_ditech", "postgres", "postgres");
exe = new Executor(con, org.jooq.SQLDialect.POSTGRES);
ret = exe.fetch("select * from shop.ip_security;");
ResultSet rs = ret.intoResultSet();
while (rs.next()) {
System.Console.WriteLine(rs.getInt("class_id"));
}
} catch (Exception ex) {
System.Console.WriteLine(ex.Message);
}
}
The only problem so far was that debugging crashed in XamarinStudio on my Mac 2 out of 4 times. I filed a bug on the IKVM bug tracker.
This is the command line I used to compile the jars to an assembly:
mono Downloads/ikvm-7.2.4630.5/bin/ikvmc.exe -out:/Users/matthias/Downloads/jOOQ-3.0.0-RC2-binaries-only/lib/jooq-3.0.0-RC2.dll -target:library /Users/matthias/Downloads/jOOQ-3.0.0-RC2-binaries-only/lib/*.jar
Btw, could it be possible that post in this forum vanish from time to time? I'm pretty sure I posted in this thread before, but the message is not here anymore ...